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> | |
<head> | |
<meta charset="utf-8" /> | |
<title> | |
Using Multiple Dropzones With A Single Plupload Instance | |
</title> | |
<link rel="stylesheet" type="text/css" href="./assets/css/styles.css"></link> |
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> | |
<head> | |
<meta charset="utf-8" /> | |
<title> | |
Showing Plupload Image Previews Using Base64-Encoded Data Urls | |
</title> | |
<link rel="stylesheet" type="text/css" href="./assets/css/styles.css"></link> |
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
#!/usr/bin/python | |
# Light painting / POV demo for Raspberry Pi using | |
# Adafruit Digital Addressable RGB LED flex strip. | |
# ----> http://adafruit.com/products/306 | |
import RPi.GPIO as GPIO, Image, time | |
# Configurable values | |
filename = "hello.png" |
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
//Leonardo | |
Serial_ & dbgTerminal = Serial; | |
HardwareSerial & espSerial = Serial1; | |
////UNO & M328P | |
//#include <SoftwareSerial.h> | |
//SoftwareSerial dbgTerminal(10, 11); // RX, TX | |
//HardwareSerial & espSerial = Serial; | |
// |
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> | |
const char* ssid = "-----------"; | |
const char* password = "-----------"; | |
// ThingSpeak Settings | |
char thingSpeakAddress[] = "api.thingspeak.com"; | |
String writeAPIKey = "----------------------"; | |
const int updateThingSpeakInterval = 15 * 1000; // Time interval in milliseconds to update ThingSpeak (number of seconds * 1000 = interval) |
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
#!/usr/bin/env python3 | |
from quick2wire.spi import * | |
from quick2wire.gpio import Pin | |
from quick2wire.gpio import In,Out,pi_header_1 | |
import time | |
import TCP_Server | |
PAYLOAD_SIZE = 3 | |
SMALL_PAUSE = 0.05 |
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
#ifndef __VIRIDI_NEXU_PAYLOAD__ | |
#define __VIRIDI_NEXU_PAYLOAD__ | |
enum PayloadType { | |
HERBA, METEO | |
}; | |
typedef uint8_t vn_payload_type; | |
typedef uint8_t vn_payload_version; |
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
/////////////////////////////////////////////////////////////////////////////////////// | |
// This program uses the ESP8266 Wifi module to access a webpage. It's an adaptation of | |
// the program discussed at http://hackaday.io/project/3072/instructions | |
// and shown here http://dunarbin.com/esp8266/retroBrowser.ino . | |
// | |
// This program was ported to the ZPUino 2.0, a softcore processor that runs on an FPGA | |
// and emulates an Arduino. | |
// | |
// This program works with version 0018000902 of the ESP8266 firmware. | |
/////////////////////////////////////////////////////////////////////////////////////// |
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
############################################################## | |
nodemcuv2.name=NodeMCU Dev Kit 2.0 (ESP8266 ESP-12E Module) | |
nodemcuv2.upload.tool=esptool | |
nodemcuv2.upload.speed=115200 | |
nodemcuv2.upload.resetmethod=ck | |
nodemcuv2.upload.maximum_size=4194304 | |
nodemcuv2.upload.wait_for_upload_port=true | |
nodemcuv2.serial.disableDTR=true | |
nodemcuv2.serial.disableRTS=true |
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 <SPI.h> | |
#include <nRF24L01.h> | |
#include <RF24.h> | |
#define DEVICE_ID 2 | |
#define CHANNEL 1 //MAX 127 | |
RF24 radio(15, 15); // Set up nRF24L01 radio on SPI bus plus pins 7 & 8 | |
// Topology | |
const uint64_t pipes[2] = { 0xFFFFFFFFFFLL, 0xCCCCCCCCCCLL }; |
OlderNewer