fix readme move files and edit gitignore
This commit is contained in:
+3
-2
@@ -1,2 +1,3 @@
|
|||||||
esp32/pager.ino
|
pager/pager.ino
|
||||||
esp32/signals.h
|
pager/signals.h
|
||||||
|
build/
|
||||||
|
|||||||
@@ -7,3 +7,18 @@ Station ID ist `531`
|
|||||||
|
|
||||||
Pager IDs sind `101` - `116` & `201` - `216`
|
Pager IDs sind `101` - `116` & `201` - `216`
|
||||||
|
|
||||||
|
## HOWTO:
|
||||||
|
|
||||||
|
### Generate signals.h
|
||||||
|
|
||||||
|
`python3 generate.py`
|
||||||
|
|
||||||
|
### Build pager.ino
|
||||||
|
|
||||||
|
- `cp pager.ino.example pager/pager.ino`
|
||||||
|
- `vim pager/pager.ino` (Dort die Wifi config anpassen)
|
||||||
|
- `arduino-cli compile --fqbn esp32:esp32:esp32 pager --output-dir build`
|
||||||
|
|
||||||
|
### Flash ESP
|
||||||
|
|
||||||
|
`esptool.py --chip esp32 --port /dev/cu.usbserial-0000 --baud 460800 write_flash -z 0x10000 build/pager.ino.bin`
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
struct SignalDef { const char* name; const int* data; int len; };
|
|
||||||
|
|
||||||
SignalDef signals[] = {
|
|
||||||
};
|
|
||||||
const int SIGNAL_COUNT = 0;
|
|
||||||
Reference in New Issue
Block a user