GithubHelp home page GithubHelp logo

seattlelight's Introduction

SeattleLight

Arduino code for Rebar Group's SeattleLight project - http://rebargroup.org/
by Matt Ganucheau, Mary Franck and Benjamin Chun

Libraries Used:
WiFlyHQ - https://github.com/harlequin-tech/WiFlyHQ
LPD8806 - https://github.com/adafruit/LPD8806

Files:
hub - code for the sequencing hub
planter - code for each planter
lights_com_test - used to test the LPD8806 over serial


Commands for the Planters

Z - Clears the strip
H - Color Chase Mode
W - Color Wipe Mode
C - Rainbow Mode
T - Twinkle Mode
O - Solid Color Mode
M - Screensaver Mode

U - Fades brightness up
D - Fades brightness down

R0 - R9 - sets Red Value
G0 - G9 - sets Green Value
B0 - B9 - sets Blue Value
P0 - P9 - sets Speed
Z0 - Z9 - sets Brightness

S0 - All Sides
S1 - First Side
S2 - Second Side
S3 - Third Side
S4 - Last Side

N1 - First Corner
N2 - Second Corner
N3 - Third Corner
N4 - Last Corner


Example hub code for targeting planters:

count++;
wifly.setHost(unit[count], 2000);
wifly.write("H");

for (int n=1; n<=11; n++) {
 if (n != count) {
   wifly.setHost(unit[n], 2000);
   wifly.write("Z1"); // set brightness to 1
   wifly.write("T");  // set to twinkle mode                        
   wifly.write("U");  // fade up the brightness
 }  
}

if(count > 11)
 count = 1;

seattlelight's People

Contributors

mganucheau avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.