The Cayenne MQTT mbed Library provides functions to easily connect to the Cayenne IoT project builder.

Dependents:   Cayenne-ESP8266Interface Cayenne-WIZnet_Library Cayenne-WIZnetInterface Cayenne-X-NUCLEO-IDW01M1 ... more

Revision:
8:aec9cfdd4c8e
Parent:
0:09ef59d2d0f7
Child:
20:996a5c660063
--- a/src/CayenneUtils/CayenneDefines.h	Tue Oct 25 16:23:07 2016 -0600
+++ b/src/CayenneUtils/CayenneDefines.h	Wed Oct 26 16:33:46 2016 -0600
@@ -37,13 +37,13 @@
 
 //Comment this out to prevent digital and analog specific code from being compiled. If you only need to send
 //and receive standard channel data you can comment this out to decrease the program size.
-#define DIGITAL_AND_ANALOG_SUPPORT
+//#define DIGITAL_AND_ANALOG_SUPPORT
 
 //Comment this out if you don't need to subscribe to data or system info payloads.
 //#define PARSE_INFO_PAYLOADS
 
 //Some defines for AVR microcontrollers to allow easier usage of memory in program space.
-#if defined(__AVR__)
+#if defined(__AVR__) || defined(ARDUINO_ARCH_SAM)
 #include <avr/pgmspace.h>
 #define CAYENNE_USING_PROGMEM
 #define CAYENNE_PROGMEM PROGMEM