Commit Graph

48 Commits

Author SHA1 Message Date
David Madison 8688131d6c Updated date 2017-04-08 09:57:42 -04:00
David Madison 4b92761bee Merge branch 'master' into no-buffer 2017-04-08 09:55:21 -04:00
David Madison 91223e91e8 indexOut incremented independent of outPos
This resolves issue #5
2017-03-28 01:03:25 -04:00
David Madison b13d9f67c7 Changed 'outPos' to 16 bit 2017-03-27 22:59:53 -04:00
David Madison 84fef87d35 Check if data can latch immediately
Prior to this change, code would wait for an additional byte before
latching.
2017-03-27 19:37:49 -04:00
David Madison eba7bdb73e Changed MODE_DATA definition
Just because.
2017-03-27 19:26:36 -04:00
David Madison a766fb4910 Rewrote Adalight code to no longer use 256 byte buffer
The buffer was only being used to store the header information before
processing, otherwise data was retrieved immediately. Buffer and support
variables were causing more problems than anything else.
2017-03-27 19:20:55 -04:00
David Madison e14a46c63e Duplicated loop function use comment
It takes slightly more space to duplicate the comment vs using an obtuse
reference to find another comment buried in the code.
2017-03-27 17:37:50 -04:00
David Madison 3f62027cf0 Fixed whitespace
Tab > space.
2017-03-27 17:35:44 -04:00
David Madison cb8be4a190 Updated date 2017-03-27 15:22:53 -04:00
David Madison 972f0e7d0e Removed debug serial lines 2017-03-27 15:20:02 -04:00
David Madison 47305050b8 Added 'clear on start' flag 2017-03-27 15:14:02 -04:00
David Madison 8485478da5 Updated adalight data types 2017-03-19 18:53:10 -04:00
David Madison b591ed106a Cleaned up header settings 2017-03-19 18:48:14 -04:00
David Madison 090532f841 Changed settings to use constants
For type safety
2017-03-19 15:04:36 -04:00
David Madison 6b25599580 Removed other Adalight files
This fork is now detatched from the main Adalight repo. The other
Arduino host code and Processing files can be downloaded from
github.com/adafruit/Adalight
2017-03-19 12:09:39 -04:00
David Madison e0d50d3961 Merge remote-tracking branch 'upstream/master' 2017-01-07 06:12:16 -05:00
Phillip Burgess c9d6a28556 Add Circuit Playground version (Arduino + Processing) 2017-01-05 23:40:37 -08:00
David Madison 1a2b6b8a7b Rewrote calibration flag description 2016-12-21 14:13:59 -05:00
David Madison 2e1e3793a6 Removed byline in arduino header comment 2016-12-21 13:23:19 -05:00
David Madison e84ea6ab3f Changed filename reference in header comment 2016-12-21 12:39:00 -05:00
David Madison a4f429258f Renamed LEDstream_WS2812B folder 2016-12-21 12:33:09 -05:00
David Madison 8b71f7febc Renamed file to LEDstream_FastLED.ino 2016-12-21 12:24:52 -05:00
David Madison f88f98b31b Moved all adalight code to a separate function 2016-12-21 12:21:39 -05:00
David Madison e57f602188 Replaced arduino file header comments 2016-12-21 12:02:29 -05:00
David Madison 821c3633a9 Added missing brightness implementation 2016-12-21 11:45:13 -05:00
David Madison 4cf7d401e3 Generalized FastLED strip parameters 2016-12-21 11:29:46 -05:00
David Madison 3a9b6157d0 Separated and cleaned settings area 2016-12-21 11:19:03 -05:00
David Madison fb6d134526 FastLED library include to use system library 2016-12-21 11:02:54 -05:00
David Madison a20ca0e108 Made ground pin explicitly optional 2016-12-21 11:01:46 -05:00
David Madison dff36ed0f6 Removed obsolete variables 2016-12-20 12:39:54 -05:00
David Madison 04f773ef2f Removed obsolete comment about serial hold mode 2016-12-20 12:16:15 -05:00
David Madison f2abdb9725 Fixed variable declaration whitespace 2016-12-20 12:13:09 -05:00
David Madison 9ee23cee1b Added calibration mode 2016-12-20 10:07:35 -05:00
David Madison 025fecb99b Moved serial timeout variable below definitions 2016-12-20 04:47:22 -05:00
David Madison 4fc9d02d9c Removed Prismatik only comment 2016-12-20 04:46:43 -05:00
David Madison 915ac14882 Updated definition comments and whitespace 2016-12-20 04:38:52 -05:00
David Madison b541a2085a Added WS2812B Arduino code
The initial modifications to the Adalight code to incorporate the
FastLED library and work with WS2812B LEDs were done by James Bruce
(@jamesabruce). I can't find a way to do a pull request on a Gist, so
I'm copying his code in full here.

Original Gist: https://gist.github.com/jamesabruce/09d79a56d270ed37870c
2016-12-20 04:31:05 -05:00
David Madison 33e98325dd Rename from .pde to .ino
Complies with modern Arduino IDE (post v1.0)
2016-12-20 03:30:38 -05:00
David Madison 3bc2b47351 Rename from .pde to .ino
Complies with modern Arduino IDE (post v1.0)
2016-12-20 03:29:40 -05:00
Phillip Burgess 435f5950ea Added LGPL license 2012-12-05 12:02:32 -08:00
Paint Your Dragon 730ef372a2 1 MHz SPI max speed for latest pixels 2012-03-14 11:31:27 -07:00
Paint Your Dragon d22622a402 LEDstream for LPD8806 now compatible with stock WS2801 version 2012-01-06 23:36:12 -08:00
Paint Your Dragon 7dec765eed Added Arduino+Processing sketches for LPD8806 strips 2011-12-15 22:54:27 -08:00
Paint Your Dragon db2ff234c4 Multi-monitor support, speed improvements, LED auto-off and other good stuff 2011-11-20 14:51:14 -08:00
Paint Your Dragon fb1c294fda Fixed bug where LED output would halt at ~70 minutes. Thanks, StringCheeseCR! 2011-11-07 12:14:44 -08:00
Paint Your Dragon efe5fd5cbd Startup test added to LEDstream (Arduino), shutdown added to Adalight (Processing)
Upon initial power-up or reset, and each time the serial port is opened,
the LEDs will briefly flash through red, green and blue, then off. This
can be used to diagnose whether the wiring between Arduino and LEDs is
correct, and to spot any breaks in the strand. Unrelated, Adalight (the
Processing code) now issues an all-off state to the LEDs on most (but
not all) exit cases.
2011-10-26 16:08:23 -07:00
Ladyada f43a8086e1 First commit! 2011-10-04 13:09:09 -04:00