View Single Post
  #1   Spotlight this post!  
Unread 12-01-2017, 21:20
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
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
Reply With Quote