ambient-attx4
Version:
Library to run the Ambient Module for Tessel. Detects ambient light and sound levels
19 lines (12 loc) • 373 B
Markdown
Attiny-Firmware-Common
-------------------------
Exposes functions shared by multiple attiny based modules.
## API
```.c
// Calculates the checksum of the flash
unsigned short calculate_checksum( unsigned short length);
// Reads the module ID from EEPROM
uint8_t read_module_id(void);
// Reads th firmware version from EEPROM
uint8_t read_firmware_version(void);
```