Define RF_ID in platformio.ini file instead of main.cpp
This commit is contained in:
@@ -16,6 +16,7 @@ build_flags =
|
||||
-D RF_CE_PIN=5
|
||||
-D RF_CS_PIN=15
|
||||
-D RF_IRQ_PIN=4
|
||||
-D RF_ID=0x2EC8 ; Copied from Powerview Hub userdata API. Open http://POWERVIEW_HUB_IP_ADDRESS/api/userdata/ and find the field labeled "rfID"
|
||||
|
||||
[env]
|
||||
monitor_speed = 115200
|
||||
|
||||
Reference in New Issue
Block a user