Skip to content

Instantly share code, notes, and snippets.

View polygondoor's full-sized avatar

PolygonDoor polygondoor

View GitHub Profile
0xF1A34FdCA950baF80301c90Ef4ebfAC8926e42aB
0x10afa70143dc4f099f729815683327b0f927c81b
0x6a7cDFf4A4D7f0e9d77845820B5e82742d3822AD
@polygondoor
polygondoor / laserTrip_screen.cpp
Created December 19, 2015 01:17
Laser trip wire with screen warning
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
Serial.begin(9600);
// doIt();
// tell the little OLED screen that we are 128 x 32 pixels
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // dont worry about this line, it looks complex
@polygondoor
polygondoor / animationPlay3.cpp
Created December 17, 2015 22:42
animation Play 3
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// tell the little OLED screen that we are 128 x 32 pixels
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // dont worry about this line, it looks complex
// set text size and other things
@polygondoor
polygondoor / animationPlay2.cpp
Created December 17, 2015 22:33
animation Play 2
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// tell the little OLED screen that we are 128 x 32 pixels
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // dont worry about this line, it looks complex
// set text size and other things
@polygondoor
polygondoor / animationPlay1.cpp
Created December 17, 2015 22:13
animation Play 1
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// tell the little OLED screen that we are 128 x 32 pixels
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // dont worry about this line, it looks complex
// set text size and other things
@polygondoor
polygondoor / screenPlay7.cpp
Created December 15, 2015 23:57
screenPlay 7
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// tell the little OLED screen that we are 128 x 32 pixels
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // dont worry about this line, it looks complex
// set text size and other things
@polygondoor
polygondoor / screenPlay6.cpp
Created December 15, 2015 23:34
screenPlay 6
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// tell the little OLED screen that we are 128 x 32 pixels
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // dont worry about this line, it looks complex
// set text size and other things
@polygondoor
polygondoor / screenPlay5.cpp
Created December 15, 2015 23:22
screenPlay 5
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// tell the little OLED screen that we are 128 x 32 pixels
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // dont worry about this line, it looks complex
// set text size and other things