Skip to content

Instantly share code, notes, and snippets.

View dhahaj's full-sized avatar

Daniel dhahaj

View GitHub Profile
substitutions:
devicename: ttgocam
friendly_name: test esp32cam
ip_address: 192.168.1.230
esphome:
name: $devicename
platform: ESP32
board: esp-wrover-kit
#define data 2
#define clock 3
// use binary notation to discribe our number layouts
byte zero = B01111110;
byte one = B00000110;
byte two = B11011010;
byte three = B11010110;
byte four = B10100110;
byte five = B11110100;
/*
ESP8266 Blink by Andrew Stuntz
The LED is connected to GPIO pin 5 in this case.
Written for the ESP8266 ESP-07 version of this board.
*/
void setup() {
pinMode(5, OUTPUT); // Initialize the LED_BUILTIN pin as an output
Serial.begin(115200);