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 <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
#include <WiFiClient.h> | |
//#include <ArduinoJson.h> | |
#include <WiFiUdp.h> | |
WiFiUDP udp; | |
const int Port = 5000; | |
char Packet[80]; |
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 <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#include <WiFi.h> | |
#include <HTTPClient.h> | |
#include <ArduinoJson.h> | |
#define SCREEN_WIDTH 128 |
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 <SoftwareSerial.h> | |
#include <Servo.h> | |
#define motor_A_1 2 | |
#define motor_A_2 4 | |
#define motor_B_1 7 | |
#define motor_B_2 8 | |
#define motor_C_1 12 | |
#define motor_C_2 13 | |
#define HC12_Tx_pin 19 | |
#define HC12_Rx_pin 18 |
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 <SoftwareSerial.h> | |
#define led 13 | |
#define btn1 0 | |
#define btn2 1 | |
#define btn3 2 | |
#define btn4 3 | |
#define btn5 4 | |
#define btn6 5 | |
#define btn7 6 | |
#define btn8 7 |
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 "ThingSpeak.h" | |
#include <ESP8266WiFi.h> | |
const int trig = D1; | |
const int echo = D2; | |
#define redLed D3 | |
#define grnLed D4 | |
unsigned long channelID = REPLACE_WITH_YOUR_THINGSPEAK_CHANNEL_ID; | |
const char * write_api = "REPLACE_WITH_YOUR_THINGSPEAK_WRITE_API_KEY"; |
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 <Adafruit_GFX.h> | |
#include <MCUFRIEND_kbv.h> | |
#include "TouchScreen.h" | |
#include<EEPROM.h> | |
#include <Adafruit_Fingerprint.h> | |
#if (defined(__AVR__) || defined(ESP8266)) && !defined(__AVR_ATmega2560__) | |
SoftwareSerial mySerial(2, 3); | |
#else | |
#define mySerial Serial1 |
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 <Adafruit_Fingerprint.h> | |
#if (defined(__AVR__) || defined(ESP8266)) && !defined(__AVR_ATmega2560__) | |
SoftwareSerial mySerial(2, 3); | |
#else | |
#define mySerial Serial1 | |
#endif | |
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial); | |
uint8_t operation; | |
uint8_t id; |
NewerOlder