Commit Graph

127 Commits

Author SHA1 Message Date
interfisch 30cfb7ffe7 implement proper white channel calculation 2020-12-07 20:51:15 +01:00
interfisch b5886f0919 change to teensy3.2 2020-12-05 18:20:57 +01:00
interfisch ded8839f4a add link to original repository 2020-12-03 10:06:15 +01:00
interfisch 730bab89cb testing to improve performance 2020-12-03 10:04:27 +01:00
interfisch f36c7ed634 implement simple min white calculation 2020-12-01 23:27:56 +01:00
interfisch 151f9e8c43 first working sk6812 RGB output with color copy 2020-12-01 22:51:24 +01:00
David Madison fece9c9b61
Merge pull request #18 from dmadison/clock-pin
Clock Pin Support (4-Wire LEDs)
2018-10-18 19:00:04 -04:00
David Madison f2a4031e2c Revert "Adds APA102 to CI"
Unfortunately the "build.extra_flags" option doesn't include the USB flags specified in the boards.txt file, overwriting them instead which breaks compilation with the Leonardo. Reversing this until I can think of a better solution. This reverts commit bd8c3f6739.
2018-10-18 18:41:56 -04:00
David Madison bd8c3f6739 Adds APA102 to CI 2018-10-18 18:19:00 -04:00
David Madison de3e665769
Adds PIN_CLOCK notice to README 2018-10-18 17:59:15 -04:00
David Madison e7175f82e2 Adds clock pin support for 4-wire strips 2018-10-18 17:49:43 -04:00
David Madison 0ffd98768e Refactor data pin as define
Allows putting the clock pin definition next to it
2018-10-18 17:49:43 -04:00
David Madison a56f4c7368
Merge pull request #17 from dmadison/travis-ci
Travis CI
2018-10-18 17:15:56 -04:00
David Madison 5e16a0a6c4 Tests Nano, Leonardo, and Mega (CI)
I know the Uno and Nano should be the same build process, just being thorough.
2018-10-18 17:03:19 -04:00
David Madison 67803756af
Adds Travis CI status image 2018-10-18 16:13:17 -04:00
David Madison 173470ff31 Fixes unused variable warning for serial flush 2018-10-18 16:09:08 -04:00
David Madison b3c05a61ec Adds Travis-CI support
Building the main sketch for the Arduino Uno with the WS2812B chipset.
2018-10-18 16:05:41 -04:00
David Madison 9a66ac9d61
Merge pull request #13 from dmadison/timeouts
Updated Timeouts
2017-12-04 20:05:22 -05:00
David Madison 79edc6911d Decreased default timeout
2:30 is a little long, don't you think?
2017-12-04 19:51:02 -05:00
David Madison 564637b1db Added 'off' setting for serial timeout 2017-12-04 19:43:20 -05:00
David Madison 061ac5edfd Fixed serial timeout overflow 2017-12-04 19:26:35 -05:00
David Madison 0b28f24b2e Evaluate timeouts on the second 2017-12-04 19:19:04 -05:00
David Madison 377362df35 Merge pull request #12 from dmadison/development
'Serial Flush' and Housekeeping
2017-06-08 22:07:10 -04:00
David Madison 9fa76f44ea Linked ambilight project page 2017-06-08 19:34:55 -04:00
David Madison 774316752e Update README.md 2017-06-08 18:03:22 -04:00
David Madison aacedb9725 Moved 'clear on start' position in settings list
Emphasis on serial flush being enabled by default. Also looks better
visually.
2017-06-08 17:51:43 -04:00
David Madison fc4ccd693e Added mode reset during LED clear
Prevents partial frames being shown if the LEDs are cleared in the
middle of data parsing.
2017-06-08 17:47:19 -04:00
David Madison 4cb6aa1096 Removed 'max available' comment for baud rate
The code works at higher baud rates. My setup, currently, runs at 250000
baud.
2017-06-08 17:16:55 -04:00
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 393a4ac102 Merge pull request #11 from dmadison/development
Separated Adalight Functions
2017-05-05 09:49:22 -04:00
David Madison 9bde209fce Added debug settings section 2017-05-05 09:45:20 -04:00
David Madison 1e744591cc Changed Lightpack link to point to release page 2017-05-05 09:34:50 -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 1ec552edc2 Merge pull request #10 from dmadison/development
Function variables made explicitly static, bugfix for #9
2017-04-23 04:42:23 -04:00
David Madison 4931d955ed Update date 2017-04-23 04:35:10 -04:00