Skip to content

Commit

Permalink
Update Tutorial 14 Code to use newly named Adafruit LED Strip Library
Browse files Browse the repository at this point in the history
  • Loading branch information
sciguy14 committed Sep 3, 2013
1 parent ee7e67f commit 42dbfd5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 14 Holiday Lights/programs/lights_take1/lights_take1.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
#include "SPI.h"

//RGB LED Library
//You can download it here: https://github.com/adafruit/WS2801-Library
#include "WS2801.h"
//You can download it here: https://github.com/adafruit/Adafruit-WS2801-Library/archive/master.zip
//Install it in your library folder and restart the Arduino IDE
#include "Adafruit_WS2801.h"

//Analog Input Pins
int left_channel = 0;
Expand All @@ -28,7 +29,7 @@ int light_data = 3;
int light_clk = 2;

//Library Setup
WS2801 strip = WS2801(50, light_data, light_clk);
Adafruit_WS2801 strip = Adafruit_WS2801(50, light_data, light_clk);

void setup()
{
Expand Down

0 comments on commit 42dbfd5

Please sign in to comment.