Skip to content

Instantly share code, notes, and snippets.

@roman3x
roman3x / Base64.cpp
Created July 20, 2018 04:33 — forked from gabonator/Base64.cpp
Wemos D1 ESP8266 websocket oscilloscope and pulse counter
#include "Base64.h"
const char b64_alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789+/";
/* 'Private' declarations */
inline void a3_to_a4(unsigned char * a4, unsigned char * a3);
inline void a4_to_a3(unsigned char * a3, unsigned char * a4);
inline unsigned char b64_lookup(char c);
@roman3x
roman3x / energymeter.ino
Created July 20, 2018 04:39 — forked from gabonator/energymeter.ino
Energy meter
// BC04-A bluetooth module
void setup()
{
// |\ |
// ____| \|________
// | /|
// |/ | / /
// V V
//