Go Down

Topic: controlling RGB LEDS multiplexed with the HC595 (Read 99 times) previous topic - next topic

thegoldenrule93

Apr 09, 2015, 03:04 pm Last Edit: Apr 09, 2015, 03:05 pm by thegoldenrule93
hi all,

Im developing a controller interface for software in max msp based on the sugarcube controller.

Ive used 4 RGB LED rotary encoders and multiplexed the LED's together with 2 HC595 chips e.g LED 1 R=Q0 G=Q1 B= Q2 etc etc.

Im able to make all the leds light up with 595 test code but need to be able to control them with serial messages to get the specific colours when buttons are pressed.

This is where my knowledge is limited and i'm finding it confusing to figure out.

Any help or information regarding decoding binary data or using serial data to control things in max would be great

Thanks.

As i understand with the HC165 i can read the binary serial data output to work out which serial data message is which button being pressed. i then use this serial data in max msp to control parameters.

Serial data input i can grasp but data output is slightly confusing.


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy