Commit Graph

15 Commits

Author SHA1 Message Date
Scott Lawson
e95cef5a99 Replaced "if" with "#if", changed int to uint32_t
Replaced if statements with #if preprocessor macros.
Replaced one #ifdef macro with #if.
Changed `int secondTimer` to `uint32_t secondTimer` to avoid signed/unsigned integer comparison. The `millis()` function returns `uint32_t`.
Removed asterix output from FPS output.
2017-01-05 00:02:43 -08:00
Joey Babcock
daf08d45bb Merge branch 'master' into patch-1 2016-12-30 23:04:34 -08:00
Scott Lawson
f860922d67 Removed ws2812b i2s library dependency, updated README
I have added a pre-configured version of the ws2812b i2s library to the
Arduino code. This removes the need to download and install the ws2812b
i2s library manually. The ws2812b code has been preconfigured to reduce
the temporal compared to the default value. The default value was found
to cause excessive flickering. The readme has been updated to reflect
this change. Also added a note about the maximum number of LEDs (255)
2016-12-30 22:31:27 -07:00
Joey Babcock
86706d7f94 apparently i don't actually know how if statements work... 2016-12-30 14:28:32 -08:00
Joey Babcock
443d8961ae make "if" statement instead of just ifdef 2016-12-30 14:23:54 -08:00
Joey Babcock
35d1ab23de left one digitalwrite in there... 2016-12-29 16:43:23 -08:00
Joey Babcock
891bf470fe added macro for fps enabling 2016-12-29 16:40:51 -08:00
Joey Babcock
3094f1bd45 Added FPS output
Also shows if its connected successfully
2016-12-28 22:45:47 -08:00
Scott Lawson
97e54b64d2 Added setup and configuration instructions to the README 2016-12-27 21:30:51 -07:00
Scott Lawson
7b3f95af18 Improved documentation for IP configuration 2016-12-27 21:09:10 -07:00
Scott Lawson
e677742584 Added a status indicator LED that blinks when command is received 2016-12-24 20:37:43 -07:00
Scott Lawson
d966bb878d Complete rewrite of most sections, added new onset detection 2016-10-22 21:55:22 -07:00
Scott Lawson
17313c254b Major refactoring and update
* Moved all module settings to a new config.py file
* Completely overhauled visualize.py and added a new radiate effect that
colours the radiative beats according the beat frequency.
* Improved some constants like the decay constant to be parametric so
that they scale to any led strip size
* Added temporal dithering to Beat.update_pixels() so that it now
supports fractional speed values. Being limited to integral values was
starting to become a problem.
* Overhauled and simplified the LED module.
* When updating pixels, the LED module no longer sends UDP packets for
pixels that have not changed. This optimization reduces the packet load
significantly and should allow for higher refresh rates.
* Renamed lookup_table.npy to gamm_table.npy to better reflect that the
table is used for gamma correction of the LED strip
2016-10-13 22:27:45 -07:00
Scott Lawson
a3a986ed0b Fixed folder name for arduino ESP8266 firmware 2016-10-12 16:02:36 -07:00
Scott Lawson
028500f04e Initial commit
Initial commit of working python and ESP8266 code.
2016-10-12 14:50:00 -07:00