Example for connecting to Cayenne using the WIZnetInterface library.

Dependencies:   Cayenne-MQTT-mbed WIZnetInterface mbed

Revision:
1:f9c3eebc57ef
Parent:
0:1474d4e95b55
Child:
3:1e44e25e5edf
--- a/main.cpp	Wed Oct 12 18:56:25 2016 +0000
+++ b/main.cpp	Wed Oct 12 19:09:03 2016 +0000
@@ -14,7 +14,7 @@
 char* password = "MQTT_PASSWORD";
 
 SPI spi(D11, D12, D13);
-EthernetInterface interface(&spi, D10, D5); // MOSI, MISO, SCK, SEL, Reset
+EthernetInterface interface(&spi, D10, D5); // SPI, SEL, Reset
 MQTTNetwork<EthernetInterface> network(interface);
 Cayenne::MQTTClient<MQTTNetwork<EthernetInterface>, MQTTTimer> mqttClient(network);