Shop OBEX P1 Docs P2 Docs Learn Events
Help with bs2p40, MAINIO and AUXIO issues — Parallax Forums

Help with bs2p40, MAINIO and AUXIO issues

PrestigeWorldPrestigeWorld Posts: 7
edited 2010-03-31 21:14 in BASIC Stamp
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.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2010-03-31 19:20
    What input devices are connected to what pins, and exactly which part of the code is it skipping?

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

    Parallax Engineering
    ·
  • PrestigeWorldPrestigeWorld Posts: 7
    edited 2010-03-31 21:14
    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.
Sign In or Register to comment.