PDA

View Full Version : Help with bs2p40, MAINIO and AUXIO issues



PrestigeWorld
04-01-2010, 01:49 AM
The switch tester file is the main file. At the end of this program it calls to either one of the second program according to a switch. However, when this is done it skips a very important part in the beginning of the mrjon program.

Chris Savage
04-01-2010, 03:20 AM
What input devices are connected to what pins, and exactly which part of the code is it skipping?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage

Parallax Engineering

PrestigeWorld
04-01-2010, 05:14 AM
MAINIO: Pins 0-1 are connected to a VMusic2 module used to play MP3 files
2 is open
3-9 are connected to a Digilent FPGA to facilitate data transfer between Stamp and LED array
10 connected to parallax 2x16 backlit LCD
11-15 connected to switch array used for user input

AUXIO: Pins 15-10 are connected to array of push-button switches used for program control

After the first program executes the line " If (IN14 = 1) Then Run 1" the program goes to the program we designated as number 1. This is fine. However, when program one begins, it outputs "You chose Mr. Jones." to the LCD. Then it skips straight to "The chords you will need to know are..." So we are not hearing any sound from the system or getting any of the desired displays on our LED array. It does not seem to read this part of the program.