Skip to content

Instantly share code, notes, and snippets.

@prasertsakd
prasertsakd / ASCIITable.ino
Created December 14, 2017 09:56
ASCII table for samd21
/*
ASCII table
Prints out byte values in all possible formats:
* as raw binary values
* as ASCII-encoded decimal, hex, octal, and binary values
For more on ASCII, see http://www.asciitable.com and http://en.wikipedia.org/wiki/ASCII
The circuit: No external hardware needed.
created 2006
by Nicholas Zambetti
modified 9 Apr 2012
int timer = 100;
const PROGMEM unsigned int ledPins[] =
{ 0,1,2,3,4,0,1,2,3,4,
4,3,2,1,0,4,3,2,1,0,
0,1,2,3,4,4,3,2,1,0,
4,3,2,1,0,0,1,2,3,4,};
const PROGMEM unsigned int stepCount = 10;
[
{
"id": "49613054.b1d67",
"type": "xml",
"z": "31f47a75.15b9d6",
"name": "",
"property": "payload",
"attr": "",
"chr": "",
"x": 390,
@prasertsakd
prasertsakd / webserver.ino
Last active January 9, 2023 23:36
Webserver for Arduino ESP8266
//Leonardo
Serial_ & dbgTerminal = Serial;
HardwareSerial & espSerial = Serial1;
////UNO & M328P
//#include <SoftwareSerial.h>
//SoftwareSerial dbgTerminal(10, 11); // RX, TX
//HardwareSerial & espSerial = Serial;
//