Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik


SPiCboard library API documentation


This is the API documentation for the SPiCboard library. The library offers the following modules to access the different hardware parts on the board:

  • 7seg (Seven Segment Display) : functions to control the two 7-segment displays
  • ADC (Analog to Digital Converter) : functions to query the state of the potentiometer and the photosensor (connected to A/D converters internally)
  • Button : functions to access the two buttons (both event-driven and polling-based)
  • LED access : functions to control the state of the eight LEDs
  • Serial Communication : functions to connect with another SPiCboard using serial communication
  • Timer module : functions to register alarm events with the hardware timers
  • OLED Display : functions to use an optional 128×64 OLED display
  • Serial Console : functions to connect to a serial console for in- and output

Additional documentation

Some additional information for (G)SPiC

Some additional information about the ATmega328PB Xplained Mini

The following links offer additional documentation for the hardware and software environment in use:

Checkout the SPiCboard-Simulator:

  • SPiCsim v3.2 (6 MB)
  • run with: java -jar SPiCsim.jar (and load the executable)
  • run exutable directly with: java -jar SPiCsim.jar boardtest.elf