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 <Ethernet.h> | |
#include <Wire.h> // I2C needed for sensors | |
#include "MPL3115A2.h" // Pressure sensor | |
#include "HTU21D.h" // Humidity sensor | |
// Enter a MAC address and IP address for your controller below. | |
// The IP address will be dependent on your local network: |
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
<phone:PhoneApplicationPage | |
x:Class="FlashKontrol.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" | |
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d" | |
FontFamily="{StaticResource PhoneFontFamilyNormal}" |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using Microsoft.Phone.Controls; | |
using Microsoft.Phone.Shell; | |
using FlashKontrol.Resources; | |
using System.Windows.Media; | |
using Windows.Phone.Media.Capture; |
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 <Adafruit_CC3000.h> | |
#include <ccspi.h> | |
#include <SPI.h> | |
#include <string.h> | |
#include "utility/debug.h" | |
#include <Wire.h> // I2C needed for sensors | |
#include "MPL3115A2.h" // Pressure sensor | |
#include "HTU21D.h" // Humidity sensor |
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
/* | |
Control 5 WS2811 RGB LEDs using Ableton Live and USB MIDI | |
Board - Teensy 3.1 | |
By Rishi Franklin | |
v1.0 - Basic functionality | |
This example code is in the public domain. | |
*/ | |
#include <Adafruit_NeoPixel.h> |
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" | |
// Teensy 3.0 | |
#define CE_PIN 5 | |
#define CS_PIN 10 | |
// Config Radio (CEPin, CSPin) |
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
/** | |
* Subtractive Color Wheel | |
* by Ira Greenberg. | |
* Tint routine modified by Miles DeCoster | |
* | |
* The primaries are red, yellow, and blue. The secondaries are green, | |
* purple, and orange. The tertiaries are yellow-orange, red-orange, | |
* red-purple, blue-purple, blue-green, and yellow-green. | |
* | |
* Updated 10 January 2013. |
NewerOlder