Compare commits
2 Commits
82fdc29f2a
...
f90fa34a07
| Author | SHA1 | Date | |
|---|---|---|---|
| f90fa34a07 | |||
| a4c49bd3a5 |
@@ -16,6 +16,7 @@ build_flags =
|
|||||||
-D RF_CE_PIN=5
|
-D RF_CE_PIN=5
|
||||||
-D RF_CS_PIN=15
|
-D RF_CS_PIN=15
|
||||||
-D RF_IRQ_PIN=4
|
-D RF_IRQ_PIN=4
|
||||||
|
-D RF_ID=0x2EC8 ; Copied from PowerView Hub userdata API, eg: http://POWERVIEW_HUB_IP_ADDRESS/api/userdata/ and find the field labeled "rfID"
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
|
|
||||||
@@ -46,4 +47,4 @@ lib_deps =
|
|||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
test_framework = unity
|
test_framework = unity
|
||||||
lib_deps =
|
lib_deps =
|
||||||
ArduinoJson=https://github.com/bblanchon/ArduinoJson#v7.0.0
|
ArduinoJson=https://github.com/bblanchon/ArduinoJson#v7.0.4
|
||||||
|
|||||||
@@ -13,10 +13,6 @@
|
|||||||
|
|
||||||
#define SER_BAUDRATE (115200)
|
#define SER_BAUDRATE (115200)
|
||||||
|
|
||||||
// Copied from Powerview Hub userdata API
|
|
||||||
// eg: http://POWERVIEW_HUB_IP_ADDRESS/api/userdata/ and find the field labeled "rfID"
|
|
||||||
#define RF_ID (0x2EC8)
|
|
||||||
|
|
||||||
RFPowerView powerView(RF_CE_PIN, RF_CS_PIN, RF_IRQ_PIN, RF_ID);
|
RFPowerView powerView(RF_CE_PIN, RF_CS_PIN, RF_IRQ_PIN, RF_ID);
|
||||||
|
|
||||||
uint8_t lastRollingCode1 = 0x3D;
|
uint8_t lastRollingCode1 = 0x3D;
|
||||||
|
|||||||
Reference in New Issue
Block a user