Jump to content
43oh

Lizard787

Members
  • Content Count

    3
  • Joined

  • Last visited

  • Days Won

    1
  1. No I didn't have any problems with voltage. According to the Datasheet for the 4021 IC it can run as low as 3 volts. I used the VCC and GND pins for powering the NES Controller.
  2. I don't know C, but you could try << or >>. That might work.
  3. The program reads an NES Controller. The Data pin is connected to P1.0, the latch pin is connected to P1.1 and the Clock Pin is connected to P1.2. I'm using the controller adapter from parallaxhttp://www.parallax.com/Store/Accessories/HumanInterfaceDevices/tabid/822/CategoryID/90/List/0/SortField/0/Level/a/ProductID/613/Default.aspx to hook up the controllers. After it is done reading the controller it jumps to the subroutine "Finished". The inputs are stored in Register 12 which goes: A B Select Start UP DOWN LEFT RIGHT 1 is pressed, 0 is unpressed. #include "msp430.h"
×
×
  • Create New...