This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Synchronized video playback</title> | |
<style> | |
#canvas_2 { | |
/*background-image: url('');*//*adding a background image for greenscreen effect*/ | |
background-repeat: no-repeat; | |
} |
This file contains hidden or 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 <ESP8266WiFi.h> | |
#include <ArduinoJson.h> | |
char ssid[] = "WIFI_SSID"; // your network SSID (name) | |
char pass[] = "WIFI_PASSWORD"; // your network password (use for WPA, or use as key for WEP) | |
int status = WL_IDLE_STATUS; | |
const char* host = "api.myjson.com"; | |
const int port = 80; | |
const char* path = "/bins/16lsir"; | |
bool connected = false; |
This file contains hidden or 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
/* | |
* Example for 8x8 LED matrix | |
* Original source http://hastebin.com/raw/wazuhujoga, linked from http://www.amazon.co.uk/forum/-/Tx3UWNLLPMFDQT6/ref=ask_dp_dpmw_al_hza?asin=B00GKEMQUM | |
*/ | |
#define MAX7219_DIN 5 | |
#define MAX7219_CS 3 | |
#define MAX7219_CLK 2 | |
const int wait = 100; |