Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Custom_LSM303 Custom_UBloxGPS LRAT-mbed-os USBDevice mbed-lora-radio-drv stm32EEPROM
Fork of LRAT-example-lorawan by
Diff: main.cpp
- Revision:
- 45:db9580357bc6
- Parent:
- 44:cf1070af05db
- Child:
- 47:d643f02b5dab
--- a/main.cpp Tue Sep 11 20:44:06 2018 +0000 +++ b/main.cpp Wed Sep 12 20:10:34 2018 +0000 @@ -55,7 +55,6 @@ #include "events/EventQueue.h" // Application helpers -#include "DummySensor.h" #include "trace_helper.h" #include "lora_radio_helper.h" @@ -87,18 +86,6 @@ */ #define CONFIRMED_MSG_RETRY_COUNTER 3 - -// HUOT NOTE -- THINK THIS CAN BE REMOVED -/** - * Dummy pin for dummy sensor - */ -//#define PC_9 0 - -/** - * Dummy sensor class object - */ -//DS1820 ds1820(PC_9); - #define PACKET_LEN 11 /** @@ -882,19 +869,6 @@ printf("In send_message()...\r\n"); int16_t retcode; -// HUOT NOTE -- 08/31/2018 -- Think this and all references to the "Dummy Sensor" can be removed at this point -// -// float sensor_value; -// if (ds1820.begin()) { -// ds1820.startConversion(); -// sensor_value = ds1820.read(); -// printf("\r\n Dummy Sensor Value = %3.1f \r\n", sensor_value); -// ds1820.startConversion(); -// } else { -// printf("\r\n No sensor found \r\n"); -// return; -// } - //time_t tNow = time(NULL); //printf("Clock: %d\r\n", tNow);