PlayStation 2(PS2) Guitar
Jump to navigation
Jump to search
Summary
Interfaces a PlayStation 2 Guitar controller with digital outputs for frets, strum bar, and other controls.
Description
The **PS2 Guitar** component allows connecting a PS2 guitar controller via SPI. It provides digital outputs for fret buttons, strum bar directions, and additional controls like the whammy bar and start/power button. You can configure the SPI speed using the **SPISpeed** property.
Diagram:
Categories
- File:TArduinoGameControllerCategory.png Category Game Controller – PS2 guitar input components.
Properties
- Enabled – Turns the module on or off.
- SPISpeed – Sets SPI communication speed (default 25000).
Pins
Input Pins
- Clock – SPI clock input.
Output Pins
- Fret Buttons – Digital outputs: Green, Red, Yellow, Blue.
- Strum Bar – Digital outputs: Up, Down, Left, Right.
Other Pins
- Error – Digital pin indicating an error.
- Interface – SPI interface pin.
- Chip Select – SPI chip select pin.
- Start / Power Button – Digital output pin.
- Whammy Bar – Digital output pin.