This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Spark preprocessor is very poor at obeying the C standard and C/C++ interaction | |
// We simply need to disable it. | |
//#pragma SPARK_NO_PREPROCESSOR | |
// This #include statement was automatically added by the Particle IDE. | |
#include "httpsclient-particle/httpsclient-particle.h" | |
#include "azure_c_shared_utility/platform.h" | |
#include "azure_iothub_client/iothub_client_ll.h" | |
#include "azure_iothub_client/iothub_message.h" | |
#include "azure_c_shared_utility/crt_abstractions.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This #include statement was automatically added by the Particle IDE. | |
#include "neopixel/neopixel.h" | |
SYSTEM_MODE(AUTOMATIC); | |
// IMPORTANT: Set pixel COUNT, PIN and TYPE | |
#define PIXEL_PIN D2 | |
#define PIXEL_COUNT 288 | |
#define PIXEL_TYPE WS2812B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Spark preprocessor is very poor at obeying the C standard and C/C++ interaction | |
// We simply need to disable it. | |
#pragma SPARK_NO_PREPROCESSOR | |
// This #include statement was automatically added by the Particle IDE. | |
#include "azure_c_shared_utility/platform.h" | |
#include "azure_iothub_client/iothub_client_ll.h" | |
#include "azure_iothub_client/iothub_message.h" | |
#include "azure_c_shared_utility/crt_abstractions.h" | |
#include "azure_iothub_client/iothubtransportmqtt.h" |