Line 1: |
Line 1: |
− | = Red Joystick = | + | == Red Joystick == |
| | | |
| | | |
− | [[File:RedJoystick.jpg|200px|Image: 200 pixels]] | + | [[File:RedJoystick.jpg|thumb|200px|Red Joystick]] |
| | | |
| | | |
− | === Com Settings === | + | === Settings === |
| | | |
− | <u>'''Serial port settings'''</u>
| + | 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: |
| | | |
− | Our hardware design allows to be connected to the computers USB and emulates a Serial Port.
| + | {| class="wikitable" |
− | | |
− | {| border="1" cellspacing="0" cellpadding="0" | |
| |- | | |- |
− | | | + | | Baudrate |
− | '''Baudrate'''
| + | | 115200 |
− | | |
− | | style="width:69px;" | | |
− | 115200 | |
− | | |
| |- | | |- |
− | | | + | | Parity |
− | '''Parity'''
| + | | None |
− | | |
− | | style="width:69px;" | | |
− | none
| |
− | | |
| |- | | |- |
− | | | + | | Data bits |
− | '''Data bits'''
| + | | 8 |
− | | |
− | | style="width:69px;" | | |
− | 8 | |
− | | |
| |- | | |- |
− | | | + | | Stop bits |
− | '''Stop bits'''
| + | | 1 |
− | | |
− | | style="width:69px;" | | |
− | 1 | |
− | | |
| |- | | |- |
− | | | + | | Flow control |
− | '''Flow control'''
| + | | None |
− | | |
− | | style="width:69px;" | | |
− | none
| |
− | | |
| |- | | |- |
− | | | + | | CTS Control |
− | '''CTS Control'''
| + | | Off |
− | | |
− | | style="width:69px;" | | |
− | Off | |
− | | |
| |- | | |- |
− | | | + | | DSR Out Control |
− | '''DSR Out Control'''
| + | | Off |
− | | |
− | | style="width:69px;" | | |
− | Off | |
− | | |
| |- | | |- |
− | | | + | | DSR In Control |
− | '''DSR In Control'''
| + | | Off |
− | | |
− | | style="width:69px;" | | |
− | Off | |
− | | |
| |- | | |- |
− | | | + | | RTS Control |
− | '''RTS Control'''
| + | | Off |
− | | |
− | | style="width:69px;" | | |
− | Off | |
− | | |
| |- | | |- |
− | | | + | | Set FIFO Interrupt |
− | '''Set FIFO Interrupt'''
| + | | Off |
− | | |
− | | style="width:69px;" | | |
− | Off | |
− |
| |
| |} | | |} |
| | | |
| + | === Python === |
| | | |
− | === Pyhon Script ===
| + | <nowiki> #!/usr/bin/env python |
− | | |
− | <nowiki> #!/usr/bin/env python
| |
| | | |
| #!/usr/bin/env python | | #!/usr/bin/env python |