Skip to content

Instantly share code, notes, and snippets.

View alexgorbatchev's full-sized avatar
👋

Alex Gorbatchev alexgorbatchev

👋
View GitHub Profile
@alexgorbatchev
alexgorbatchev / FastLEDDisk.ino
Created September 8, 2017 22:50 — forked from adammhaile/FastLEDDisk.ino
Examples of using angle and radius to select pixels on a circular pixel layout using FastLED
#include "FastLED.h"
#define NUM_LEDS 255
#define DATA_PIN SPI_DATA
#define CLOCK_PIN SPI_CLOCK
// Define the array of leds
CRGB leds[NUM_LEDS];
####################################
# BASIC REQUIREMENTS
# http://graphite.wikidot.com/installation
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/
# Last tested & updated 10/13/2011
####################################
sudo apt-get update
sudo apt-get upgrade
var sys = require("sys");
var http = require("http");
var connections=[];
function update() {
if (connections.length) {
connections.forEach(function(c) {
sys.puts(c);
c.write('oi\n');