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": ""
        }
Revision:
46:a124538e2891
Parent:
26:f07f5febf97f
Child:
56:39847849d219
--- a/DummySensor.h	Thu Jan 03 15:30:32 2019 +0000
+++ b/DummySensor.h	Thu Jan 10 12:15:30 2019 +0000
@@ -21,13 +21,19 @@
 /*
  * A dummy sensor for Mbed LoRa Test Application
  */
-class DS1820
-{
+class DS1820 {
 public:
-    DS1820(uint32_t) { value = 1.0f; };
-    bool begin() { return true; };
+    DS1820(uint32_t)
+    {
+        value = 1.0f;
+    };
+    bool begin()
+    {
+        return true;
+    };
     void startConversion() {};
-    float read() {
+    float read()
+    {
         value += 1.1f;
         return value;
     }