Skip to content

Instantly share code, notes, and snippets.

@mherweg
mherweg / nokia5110_chars.h
Last active August 8, 2017 19:33
firmware for Wifi Enabled LED Display "redshift"
//#include <avr/pgmspace.h>
const uint8_t CHARSET[][5] PROGMEM = {
{ 0x00, 0x00, 0x00, 0x00, 0x00 }, // 20 space
{ 0x00, 0x00, 0x5f, 0x00, 0x00 }, // 21 !
{ 0x00, 0x07, 0x00, 0x07, 0x00 }, // 22 "
{ 0x14, 0x7f, 0x14, 0x7f, 0x14 }, // 23 #
{ 0x24, 0x2a, 0x7f, 0x2a, 0x12 }, // 24 $
{ 0x23, 0x13, 0x08, 0x64, 0x62 }, // 25 %
{ 0x36, 0x49, 0x55, 0x22, 0x50 }, // 26 &
@mherweg
mherweg / conf.h
Last active August 19, 2017 19:36
#define NUMPIXELS 254
#define PIN 5 //GPIO5 = D1
// http://esp8266-server.de/wemos.html#Pinbelegung
const char* ssid = "XXXXXXXXXXXXXX";
const char* password = "XXXXXXXXXXXXX";
const char* mqtt_server = "192.168.1.3";
const char* inTopic = "huette/clubraum/000/ws2812tonne/frame";