Skip to content

Instantly share code, notes, and snippets.

Avatar

Frederik frederikbrudy

View GitHub Profile
@frederikbrudy
frederikbrudy / index.html
Last active Jul 20, 2017
Synchronize HTML5 video playback of two videos
View index.html
<!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;
}
View WiFi_Client_LinkNode_D1_ESP2866.ino
#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;
View led_matrix_sample_code.ino
/*
* 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;
You can’t perform that action at this time.