JoyStick: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
= Red Joystick = | == Red Joystick == | ||
[[File:RedJoystick.jpg|200px| | [[File:RedJoystick.jpg|thumb|200px|Red Joystick]] | ||
=== | === Settings === | ||
The Red Joystick can be connected to the computer via USB; the device will emulate a serial port. The following COM port settings should be used: | |||
{| class="wikitable" | |||
{| | |||
|- | |- | ||
| | | Baudrate | ||
| 115200 | |||
| | |||
115200 | |||
|- | |- | ||
| | | Parity | ||
| None | |||
| | |||
|- | |- | ||
| | | Data bits | ||
| 8 | |||
| | |||
8 | |||
|- | |- | ||
| | | Stop bits | ||
| 1 | |||
| | |||
1 | |||
|- | |- | ||
| | | Flow control | ||
| None | |||
| | |||
|- | |- | ||
| | | CTS Control | ||
| Off | |||
| | |||
Off | |||
|- | |- | ||
| | | DSR Out Control | ||
| Off | |||
| | |||
Off | |||
|- | |- | ||
| | | DSR In Control | ||
| Off | |||
| | |||
Off | |||
|- | |- | ||
| | | RTS Control | ||
| Off | |||
| | |||
Off | |||
|- | |- | ||
| | | Set FIFO Interrupt | ||
| Off | |||
| | |||
Off | |||
|} | |} | ||
=== Python === | |||
<nowiki> #!/usr/bin/env python | |||
#!/usr/bin/env python | #!/usr/bin/env python | ||