mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-09 15:06:37 +02:00
* 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:
parent
a95069e65c
commit
d195eee498
16 changed files with 240 additions and 215 deletions
|
@ -6,9 +6,8 @@
|
|||
// PINOUT
|
||||
//-------------------------------------
|
||||
#define RF24_CS_PIN 15
|
||||
#define RF24_CE_PIN 2 //5
|
||||
#define RF24_IRQ_PIN 0 //4
|
||||
|
||||
#define RF24_CE_PIN 2
|
||||
#define RF24_IRQ_PIN 0
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
|
@ -17,6 +16,7 @@
|
|||
#define PACKET_BUFFER_SIZE 30
|
||||
#define MAX_NUM_INVERTERS 3
|
||||
#define MAX_NAME_LENGTH 16
|
||||
#define MAX_RF_PAYLOAD_SIZE 64
|
||||
#define LIVEDATA_VISUALIZED // show live data pv-module wise or as dump
|
||||
|
||||
|
||||
|
@ -28,6 +28,13 @@
|
|||
#define VERSION_PATCH 4
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
typedef struct {
|
||||
uint8_t sendCh;
|
||||
uint8_t packet[MAX_RF_PAYLOAD_SIZE];
|
||||
} packet_t;
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
// EEPROM
|
||||
//-------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue