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
/** | |
* 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. |
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
#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 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 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 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 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 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 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> | |
// Enter a MAC address and IP address for your controller below. | |
// The IP address will be dependent on your local network: | |
byte mac[] = { "Your MAC" }; |
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
// UTFT_ViewFont (C)2012 Henning Karlsen | |
// web: http://www.henningkarlsen.com/electronics | |
// | |
// This program is a demo of the included fonts. | |
// | |
// This demo was made for modules with a screen resolution | |
// of 320x240 pixels. | |
// | |
// This program requires the UTFT library. | |
// |
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
#include <ads7843.h> | |
#define DCLK 51 // SCLK | |
#define CS 46 // CS | |
#define DIN 48 // MISO | |
#define DOUT 47 // MOSI | |
#define IRQ 49 |
OlderNewer