mbed_app.json configured to operate on senet
To enable cayenne, edit mbed_app.json
, assign pins for desired function
Example:
"cayenne": { "help": "compile main_cayenne.cpp instead of main.cpp", "value": 1 }, "analog_in_pin": { "help": "PA_0, PA_4, PA_5", "value": "PA_0" }, "analog_out_pin": { "help": "PA_0, PB_5, PB_10, PB_11", "value": "PB_11" }, "_digital_out_pin": { "help": "", "value": "" }
Diff: lora_radio_helper.h
- Revision:
- 53:1b6c71e938ac
- Parent:
- 46:a124538e2891
- Child:
- 57:36e87c44c920
--- a/lora_radio_helper.h Mon Apr 29 14:02:07 2019 +0100 +++ b/lora_radio_helper.h Thu May 16 12:01:57 2019 +0100 @@ -15,11 +15,11 @@ * limitations under the License. */ -#include "lorawan/LoRaRadio.h" - #ifndef APP_LORA_RADIO_HELPER_H_ #define APP_LORA_RADIO_HELPER_H_ +#include "lorawan/LoRaRadio.h" + #include "SX1272_LoRaRadio.h" #include "SX1276_LoRaRadio.h"