David Madison
84d5813852
Enabled 'serial flush' by default
2017-06-08 17:10:57 -04:00
David Madison
cbc5252391
Removed 'protocol' from header comment
2017-06-08 17:06:36 -04:00
David Madison
4bcf36b6cc
Changed mode to use enum
2017-06-08 17:04:22 -04:00
David Madison
c559b3949f
Added serial buffer flush option
2017-06-08 16:28:17 -04:00
David Madison
ed8eab001b
Added LGPL license
...
While the program is already licensed under LGPL, adding into the
program file itself to be clear.
2017-06-08 15:58:47 -04:00
David Madison
edf0fef088
Increased max number of LEDs
...
21,845 should be the new max (untested)
2017-06-08 15:40:09 -04:00
David Madison
d46782ca68
Removed date
...
No reason to keep track in both vc and the file
2017-06-08 15:34:57 -04:00
David Madison
65e26ed88f
Updated date
2017-05-05 09:18:27 -04:00
David Madison
203abb8740
Added additional comments
2017-05-05 09:16:01 -04:00
David Madison
e9092c39fe
Removed 'loop' avoidance
...
Cleans up the code slightly. If the compiler is smart, the functions are
inlined regardless.
2017-05-05 09:05:47 -04:00
David Madison
0e16794589
Changed 'SerialTimeout' to use seconds
...
More intuitive to set, no change in functionality
2017-05-05 08:20:23 -04:00
David Madison
92e65abde7
Nested serial timeout check
...
Should give a significant performance improvement, reducing the delay
before a received byte is processed. Limits timeout periods to
increments of 1000, though.
2017-05-05 08:07:35 -04:00
David Madison
92362303b8
Removed 'bytesRemaining' check
...
Slight efficiency improvement. In data mode bytes remaining is always
greater than 0, because the LED count is always set to greater than 0 in
the header setting. When it reaches 0 mode is immediately switched.
2017-05-05 07:54:41 -04:00
David Madison
bd87f5f23b
Guarded magic word check if statements
...
Not explicitly needed, but no reason not to protect it
2017-05-05 07:33:00 -04:00
David Madison
6910e162d7
Separated adalight into functions
...
Makes the code more readable and easier to modify
2017-05-05 07:28:29 -04:00
David Madison
ec44b9335f
Added DEBUG_FPS macro
2017-05-05 05:40:40 -04:00
David Madison
d42a83be45
Cleaned up debug LED implementation
...
Cleaner to use, and should be easier to add elsewhere in the future
2017-05-03 12:48:48 -04:00
David Madison
4931d955ed
Update date
2017-04-23 04:35:10 -04:00
David Madison
e57c61b1ea
Added static keywords to Adalight func variables
...
Should not be strictly necessary, but it was careless to omit them.
2017-04-23 04:32:03 -04:00
David Madison
c24abb7393
Set mode variable as static
...
Chasing what I believe is a memory allocation issue, related to large
numbers of LEDs (#9 )
2017-04-19 21:31:39 -04:00
David Madison
79c514bd59
Added DEBUG_LED feature
2017-04-18 22:52:37 -04:00
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