Files
arduino-libs/arduino-cli/libraries/Blynk/examples/Blynk.Inject/Template_ESP8266/Template_ESP8266.ino
2024-07-20 22:09:06 +08:00

38 lines
1.0 KiB
C++

/*************************************************************
This is a DEMO. You can use it only for development and testing.
You should open Setting.h and modify General options.
If you would like to add these features to your product,
please contact Blynk for Businesses:
http://www.blynk.io/
*************************************************************/
#define USE_SPARKFUN_BLYNK_BOARD // Uncomment the board you are using
//#define USE_NODE_MCU_BOARD // Comment out the boards you are not using
//#define USE_WITTY_CLOUD_BOARD
//#define USE_CUSTOM_BOARD // For all other ESP8266-based boards -
// see "Custom board configuration" in Settings.h
#define APP_DEBUG // Comment this out to disable debug prints
#define BLYNK_PRINT Serial
#include "BlynkProvisioning.h"
void setup() {
delay(500);
Serial.begin(115200);
BlynkProvisioning.begin();
}
void loop() {
// This handles the network and cloud connection
BlynkProvisioning.run();
}