mirror of
https://github.com/KevinMidboe/Arduino.git
synced 2025-10-29 17:40:11 +00:00
Init commit with many years of arduino sketches and projects. I dont know if the esp8266 includes much, but there are also libraries. I hope they dont have crazy automatic versioning through the Arduino IDE.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef config_h
|
||||
#define config_h
|
||||
|
||||
// ===== DISPLAY LIBRARY ===== //
|
||||
#include "SSD1306Wire.h"
|
||||
// =========================== //
|
||||
|
||||
#define DEFAULT_SSID "Dickbutt " + bytesToStr(&(settings.getMacAP()[3]), 3)
|
||||
|
||||
// ===================== LED CONFIG ==================== //
|
||||
#define DIGITAL_LED
|
||||
|
||||
#define LED_ANODE false // common vcc (+)
|
||||
#define LED_PIN_R 255 // NodeMCU on-board LED
|
||||
#define LED_PIN_G 255 // 255 = LED disabled
|
||||
#define LED_PIN_B 2 // ESP-12 LED
|
||||
|
||||
// ===================== DISPLAY CONFIG ==================== //
|
||||
#define USE_DISPLAY false // default display setting
|
||||
|
||||
#define BUTTON_UP 14
|
||||
#define BUTTON_DOWN 12
|
||||
#define BUTTON_A 13
|
||||
|
||||
|
||||
#define DEAUTHER_DISPLAY SSD1306Wire display = SSD1306Wire(0x3c, 5, 4); // for 0.96" OLED
|
||||
// ========================================================= //
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,22 @@
|
||||
# MrRobotBadge Dickbutt Shitty Addon
|
||||
|
||||
-> https://twitter.com/MrRobotBadge
|
||||
|
||||
Has a default SSID "Dickbutt 00:11:22" (00:11:22 = last 3 bytes of the MAC address)
|
||||
|
||||
| | |
|
||||
| - | - |
|
||||
| LED Type | Digital |
|
||||
| LED R | disabled |
|
||||
| LED G | disabled |
|
||||
| LED B | 2 |
|
||||
| Highlight LED | disabled |
|
||||
| Display and buttons enabled | NO |
|
||||
| Display Driver | SSD1306 |
|
||||
| Display SDA | GPIO 5 (D1) |
|
||||
| Display SCL | GPIO 4 (D2) |
|
||||
| Flip Display | NO |
|
||||
| Button Up |GPIO 14 (D5) |
|
||||
| Button Down | GPIO 12 (D6) |
|
||||
| Button A | GPIO 13 (D7) |
|
||||
| Button B |disabled |
|
||||
Reference in New Issue
Block a user