Merge branch 'main' into dev-twi

This commit is contained in:
2025-11-06 17:00:06 +01:00
13 changed files with 287 additions and 9 deletions
+10
View File
@@ -23,3 +23,13 @@ void eepromWrite(uint8_t address, uint8_t data) {
EECR |= (1 << EEPE);
}
}
void eepromFlush(uint8_t address) {
if (eepromRead(address) != 0) {
EEAR = address;
EEDR = 0;
EECR |= (1 << EEMPE);
EECR |= (1 << EEPE);
}
}