* 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

@ -4,10 +4,6 @@
#include "hmInverters.h"
#include "hmRadio.h"
typedef struct {
uint8_t sendCh;
uint8_t packet[MAX_RF_PAYLOAD_SIZE];
} packet_t;
template <class RADIO, class BUFFER, uint8_t MAX_INVERTER, class RECORDTYPE=float>
@ -25,6 +21,10 @@ class HmSystem {
// TODO: cleanup
}
void setup() {
Radio.setup(&BufCtrl);
}
inverter_t *addInverter(const char *name, uint64_t serial, uint8_t type) {
if(MAX_INVERTER <= mNumInv) {
DPRINT("max number of inverters reached!");