Skip to content

Instantly share code, notes, and snippets.

@tairea
tairea / 02_blynk_led_strip.ino
Last active September 21, 2021 09:47
Arduino: Blynk Led Strip (NodeMCU + Led Strip - colour & brightness)
#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>
@tairea
tairea / 01_blynk_traffic_light.ino
Last active September 21, 2021 09:32
Arduino: Blynk Traffic Light Sketch (NodeMCU + 3 leds)
#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>
@tairea
tairea / arduino_robot_motors.ino
Last active September 21, 2021 09:36
Arduino Robot Test
#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);