SPiCboard library (libspicboard, revision 14925) API documentation
Found a bug or something ambiguous? Mail us to get it fixed!
SPiCboard library API documentation
Overview
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
- Timer module : functions to register alarm events with the hardware timers
Additional documentation
Some additional information for SPiC
Some additional information about the ATmega328PB Xplained Mini
- ATMega328PB Datasheet
- ATMega328PB Xplained Mini User Guide
- ATMega328PB Xplained Mini Design Documentation
- avr-libc Documentation
The following links offer additional documentation for the hardware and software environment in use:
- C-Einführungsbuch "C als erste Programmiersprache": verfügbar bei Springerlink online.
- "The New C Standard: An Economic and Cultural Commentary" C-Standard mit Kommentaren.
- GDB reference card
Checkout the SPiCboard-Simulator:
- SPiCsim v3.1 (6 MB)
- run with:
java -jar SPiCsim.jar
(and load the executable) - run exutable directly with:
java -jar SPiCsim.jar boardtest.elf