This module adds support for connecting a PSP wireless controller from Mindsensors. http://www.mindsensors.com/ev3-and-nxt/31-psp-nx-v4-ref-combo-with-wireless-controller
MODULE_PSP | 32 |
MODULE_PSP_SET_WRITE_OFFSET | 0 |
MODULE_PSP_START | 1 |
MODULE_PSP_STOP | 2 |
Set the write data offset and start the PSP update thread.
proc pspStart(number port)
Name | Type | Description |
---|---|---|
port | number | The port to which the receiver is connected, the first port is 0, the second 1, etc... |
Stop the PSP update thread.
proc pspStop()
Wait until a PSP button is press.
proc pspWaitForButton()