View serial_json.flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "49613054.b1d67", | |
"type": "xml", | |
"z": "31f47a75.15b9d6", | |
"name": "", | |
"property": "payload", | |
"attr": "", | |
"chr": "", | |
"x": 390, |
View randomLedArray.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
View ASCIITable.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 |
View Board.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################## | |
# NodeWifi chip has built-in 1MB flash | |
nodewifi.name=NodeWifi | |
nodewifi.upload.tool=esptool | |
nodewifi.upload.speed=115200 | |
nodewifi.upload.resetmethod=nodemcu | |
nodewifi.upload.maximum_size=434160 | |
nodewifi.upload.maximum_data_size=81920 |
View check_mega16u2.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set arduino_path=c:\arduino-1.6.12 | |
set avrdude.exe=%arduino_path%\hardware\tools\avr\bin\avrdude.exe | |
set avrdude.conf=%arduino_path%\hardware\tools\avr\etc\avrdude.conf | |
%avrdude_path% -c usbtiny -v -p m16u2 -C %avrdude_conf% |
View flash_mega16u2.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set arduino_path=c:\arduino-1.6.12 | |
set firmware=Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex | |
set avrdude.exe=%arduino_path%\hardware\tools\avr\bin\avrdude.exe | |
set avrdude.conf=%arduino_path%\hardware\tools\avr\etc\avrdude.conf | |
%avrdude_path% -c usbtiny -p m16u2 -C %avrdude_conf% -F -D -U flash:w:%firmware% -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m |
View esp_idf_hello_world.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void app_main() { | |
printf("Hello world\n"); | |
} |
View PN532_HID.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <PN532.h> | |
#include "Keyboard.h" | |
//#define SCK 13 | |
//#define MOSI 11 | |
//#define SS 10 | |
//#define MISO 12 | |
#define SCK 15 | |
#define MOSI 16 |
View esp_touch.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int ledPin = 2; // the number of the LED pin | |
const int threshold = 40; // the number of the LED pin | |
int ledState = LOW; // ledState used to set the LED | |
void setup() { | |
// put your setup code here, to run once: | |
//pinMode(ledPin, OUTPUT); | |
Serial.begin(115200); | |
touchAttachInterrupt(T0 , click , threshold ); |
View arduino_esp32_multi_thread_demo.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define BUILDIN_LED 2 | |
#define ledPIN1 23 | |
#define ledPIN2 22 | |
// ---------------------------------------------------------------------------------- | |
void first_task(void *pvParameter){ | |
/* Configure the IOMUX register for pad BLINK_GPIO (some pads are | |
muxed to GPIO on reset already, but some default to other | |
functions and need to be switched to GPIO. Consult the | |
Technical Reference for a list of pads and their default |
NewerOlder