HW4

Dependencies:   C12832 MQTT

Fork of HelloMQTT by MQTT

Revision:
23:e2ab0669caeb
Parent:
21:a68bd76740f9
--- a/mbed_app.json	Mon Sep 11 16:43:49 2017 +0200
+++ b/mbed_app.json	Fri Jan 05 06:36:32 2018 +0000
@@ -1,8 +1,8 @@
 {
     "config": {
         "network-interface":{
-            "help": "options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, WIFI_RTW, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD",
-            "value": "ETHERNET"
+            "help": "options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, MESH_LOWPAN_ND, MESH_THREAD",
+            "value": "WIFI_ESP8266"
         },
         "mesh_radio_type": {
             "help": "options are ATMEL, MCR20",
@@ -10,60 +10,69 @@
         },
         "esp8266-tx": {
             "help": "Pin used as TX (connects to ESP8266 RX)",
-            "value": "D1"
+            "value": "D8"
         },
         "esp8266-rx": {
             "help": "Pin used as RX (connects to ESP8266 TX)",
-            "value": "D0"
-        },
-        "esp8266-ssid": {
-            "value": "\"SSID\""
-        },
-        "esp8266-password": {
-            "value": "\"Password\""
+            "value": "D2"
         },
         "esp8266-debug": {
-            "value": true
+            "value": false
         },
-        "lcd-mosi": {
-            "value": "D11",
-            "macro_name": "LCD_MOSI"
+        "wifi-ssid": {
+            "value": "\"netlab1\""
         },
-        "lcd-sck": {
-            "value": "D13",
-            "macro_name": "LCD_SCK"
+        "wifi-password": {
+            "value": "\"netlab1@414\""
         },
-        "lcd-miso": {
-            "value": "D12",
-            "macro_name": "LCD_MISO"
+        "button": {
+            "help": "Pin which you'll use as button (can be overriden per target below)",
+            "value": "BUTTON1"
         },
-        "lcd-a0": {
-            "value": "D7",
-            "macro_name": "LCD_A0"
+        "builtin_led_on": {
+            "help": "Value to write to built-in LEDs to turn them on",
+            "value": 1,
+            "macro_name": "BUILTIN_LED_ON"
         },
-        "lcd-ncs": {
-            "value": "D10",
-            "macro_name": "LCD_NCS"
+        "builtin_led_off": {
+            "help": "Value to write to built-in LEDs to turn them off",
+            "value": 0,
+            "macro_name": "BUILTIN_LED_OFF"
         }
     },
     "target_overrides": {
         "*": {
             "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
+            "platform.stdio-baud-rate": 115200,
+            "platform.stdio-convert-newlines": true,
             "mbed-mesh-api.6lowpan-nd-channel-page": 0,
             "mbed-mesh-api.6lowpan-nd-channel": 12,
             "mbed-trace.enable": 0
         },
+        "K64F": {
+            "button": "SW2",
+            "builtin_led_on": 0,
+            "builtin_led_off": 1
+        },
         "HEXIWEAR": {
+            "button": "PTA12",
             "esp8266-tx": "PTD3",
             "esp8266-rx": "PTD2"
         },
         "NUCLEO_F401RE": {
+            "button": "USER_BUTTON",
             "esp8266-tx": "D8",
             "esp8266-rx": "D2"
         },
         "NUCLEO_F411RE": {
+            "button": "USER_BUTTON",
             "esp8266-tx": "D8",
             "esp8266-rx": "D2"
+        },
+        "NUMAKER_PFM_NUC472": {
+            "button": "SW1",
+            "builtin_led_on": 0,
+            "builtin_led_off": 1
         }
     }
 }