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
/* | |
Also, need to change in ILI9341pal.js: | |
var LCD_WIDTH = 320; | |
var LCD_HEIGHT = 240; | |
*/ | |
BTN1 = D39 | |
BTN2 = D38 | |
BTN3 = D37 | |
SPKR = D25 |
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
// Captive Portal - extending: | |
// https://gist.github.com/MaBecker/ae9dade26b44524e076ca19f5fd72fab | |
// Added form and post back to join network | |
var http = require('http'); | |
var wifi = require('Wifi'); | |
var dgram = require('dgram'); | |
var dns_srv = dgram.createSocket('udp4'); |