![](/media/cache/profiles/89a26a363b87a87ac6a94277e841b7f4.50x50_q85.jpg)
Uses *spark d-fuser controller hardware as a USB-DMX interface. Developed for visualising Laurel Pardue’s augmented violin with lights.
Dependencies: DMX mbed spk_oled_ssd1305
Diff: main.cpp
- Revision:
- 4:c8b23ce175f4
- Parent:
- 3:642cd9d00b69
- Child:
- 5:1fe29795851a
--- a/main.cpp Thu May 14 19:57:40 2015 +0000 +++ b/main.cpp Tue May 17 23:48:10 2016 +0000 @@ -33,10 +33,10 @@ // DMX Fixtures -#define kDMX_PARCAN_1 8 - 4 // don't know why but fixtures are four higher than code -#define kDMX_PARCAN_2 12 - 4 -#define kDMX_PARCAN_3 16 - 4 -#define kDMX_PARCAN_4 20 - 4 +#define kDMX_PARCAN_1 8 - 1 +#define kDMX_PARCAN_2 12 - 1 +#define kDMX_PARCAN_3 16 - 1 +#define kDMX_PARCAN_4 20 - 1 #define kDMX_PARCAN_R 0 #define kDMX_PARCAN_G 1 @@ -104,7 +104,7 @@ // TOBY VIOLIN EXTRAS -float sMaxFixed = 0.2; +float sMaxFixed = 0.1; float sMultiplier = 255.0/sMaxFixed; float eMaxFixed = 400;