* pinout can be saved using the web setup

* html / css files are now located inside PROGMEM
* conversion of files is done with python script (OS independent, open source)
* moved as much as possible for now to the hm* modules - the app should only be the body
* successfully tested with HM1200
This commit is contained in:
lumapu 2022-04-25 17:48:12 +02:00
parent a95069e65c
commit d195eee498
16 changed files with 240 additions and 215 deletions

View file

@ -36,7 +36,7 @@ class eep {
*value = (EEPROM.read(addr++));
}
void read(uint32_t addr, uint8_t data[], uint8_t length) {
void read(uint32_t addr, uint8_t data[], uint16_t length) {
for(uint8_t i = 0; i < length; i ++) {
*(data++) = EEPROM.read(addr++);
}
@ -77,7 +77,7 @@ class eep {
EEPROM.commit();
}
void write(uint32_t addr, uint8_t data[], uint8_t length) {
void write(uint32_t addr, uint8_t data[], uint16_t length) {
for(uint8_t i = 0; i < length; i ++) {
EEPROM.write(addr++, data[i]);
}