Example for connecting to Cayenne using the WIZnetInterface library.
Dependencies: Cayenne-MQTT-mbed WIZnetInterface mbed
Revision 1:f9c3eebc57ef, committed 2016-10-12
- Comitter:
- jburhenn
- Date:
- Wed Oct 12 19:09:03 2016 +0000
- Parent:
- 0:1474d4e95b55
- Child:
- 2:f2ba8e604881
- Commit message:
- Updated comment.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
myDevicesIoT