|
TI Launchpad MSP430 and Arduino Problems
Hi,
So we are trying to finish up our driver station buttons. On the board of buttons, we have two rotary switches. For those rotary switches, we have 12 LEDs for each of the 12 states of each switch. This makes it easy to see what state it is on.
Our problem is that while I have wired all the Charlieplexed LEDs to an Arduino and then plugged in the rotary switch and it works, the Launchpad still needs to read the value of the rotary switch. In other words, we have to read the same rotary switch for two different devices, the TI MSP430 which sends the values to the robot and the Arduino which controls the LEDs. If anyone knows of an easy wiring fix, that would be best. However, I don't know of any so I will list my two possible solutions I have thought of....
1. Using our TI Launchpad, when the FRC firmware is loaded onto it, is there a way to still program it like an Arduino? If this was the case, I could just transfer my code to the Launchpad and the issue would be resolved.
2. If that isn't an option, I thought maybe I could do some sort of easy communication between the two. Serial, IC2, something along those lines.
If anyone has any idea on what would work best in our situation, that would be awesome! We really want to finish this so it isn't on our minds anymore! Thanks!
__________________
#Python4Life
|