1 / 7

PS2 Game Pad Control

PS2 Game Pad Control. 1. Connection:. Brown: data (data from PlayStation 2) Orange: Command. //Grey : motor Power 7.2V-9V. Black: ground. Red: Power 3.3V Yellow: attention. Blue: clock. //While: none. //Green : ack. 2. Programming:. Brown: data (data from PlayStation 2) 1 st i/o Input

Download Presentation

PS2 Game Pad Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PS2 Game Pad Control 1. Connection: • Brown: data (data from PlayStation 2) • Orange: Command. • //Grey : motor Power 7.2V-9V. • Black: ground. • Red: Power 3.3V • Yellow: attention. • Blue: clock. • //While: none. • //Green : ack.

  2. 2. Programming: • Brown: data (data from PlayStation 2) 1st i/o Input • Orange: Command. (Signal from MCU->PS2) • Grey : motor Power 7.2V-9V. (not use) • Black: ground.(Power) • Red: Power 3.3V->5.3V • Yellow: attention. (Signal from MCU->PS2) • Blue: clock. .(Signal from MCU->PS2) • While: none.(not use) • Green : ack.(not use)

  3. PlayStation 2 Control 2. Programming: • Library • Playstation.h • Playstation.c • 2. Function • - configIOPS2() • - run_ps2() • 3. Variable • butLeft • butRight • but_right_left • but_start_select • but_delta_X • but_square_O • - but_up_down

  4. PlayStation 2 Control 2. Programming: but_square_O but_delta_X but_start_select but_right_left butRight but_up_down butLeft

  5. PlayStation 2 Control but_right_left =1 but_delta_X=2 but_up_down =2 but_square_O =2 but_square_O=1 but_right_left =2 but_up_down =1 but_delta_X=1 but_start_select =2 but_start_select =1

  6. PlayStation 2 Control R butRight =2 butLeft =2 butRight =1 L butLeft =1

  7. PlayStation 2 Control int main(void) { while(1) { Gamepad_setup(); read_data(); } }

More Related