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
#define BLYNK_TEMPLATE_ID "blynk_template_id" | |
#define BLYNK_DEVICE_NAME "Quickstart Device" | |
#define BLYNK_AUTH_TOKEN "blynk_auth_token" | |
// Comment this out to disable prints and save space | |
#define BLYNK_PRINT Serial | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.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
#define BLYNK_TEMPLATE_ID "blynk_template_id" | |
#define BLYNK_DEVICE_NAME "Quickstart Device" | |
#define BLYNK_AUTH_TOKEN "blynk_auth_token" | |
// Comment this out to disable prints and save space | |
#define BLYNK_PRINT Serial | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.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
#include <AFMotor.h> | |
AF_DCMotor motorL(1); | |
AF_DCMotor motorR(2); | |
void setup() { | |
motorL.setSpeed(200); | |
motorR.setSpeed(200); | |
motorL.run(RELEASE); | |
motorR.run(RELEASE); |