![]() |
PiStorms
4.012
PiStorms Library Reference by mindsensors.com
|
rmap_PISTORMS: this class provides functions for PISTORMS integration with scratch for read and write operations with scratch. More...
Public Member Functions | |
| def | __init__ |
| def | process_read |
| def | run_command |
Public Member Functions inherited from PiStorms.PiStorms | |
| def | __init__ |
| Initialize the PiStorms motor and sensor ports. More... | |
| def | command |
| def | Shutdown |
| Shutdown the Raspberry Pi. More... | |
| def | battVoltage |
| Returns the input battery voltage. More... | |
| def | GetFirmwareVersion |
| Returns the PiStorms firmware version. More... | |
| def | GetVendorName |
| Returns the PiStorms vendor name. More... | |
| def | GetDeviceId |
| Returns the PiStorms device ID. More... | |
| def | led |
| Writes to the specified RGB LED. More... | |
| def | isKeyPressed |
| Check if the GO button is pressed. More... | |
| def | getKeyPressValue |
| Check if any Function button is pressed. More... | |
| def | isF1Pressed |
| Check if F1 Function button is pressed. More... | |
| def | isF2Pressed |
| Check if F2 Function button is pressed. More... | |
| def | isF3Pressed |
| Check if F3 Function button is pressed. More... | |
| def | isF4Pressed |
| Check if F4 Function button is pressed. More... | |
| def | getKeyPressCount |
| Returns the GO button press count. More... | |
| def | resetKeyPressCount |
| Resets the GO button press count. More... | |
Additional Inherited Members | |
Public Attributes inherited from PiStorms.PiStorms | |
| screen | |
| An instance of mindsensorsUI.mindsensorsUI representing the PiStorms's touchscreen. More... | |
| psc | |
| An instance of PiStormsCom.PiStormsCom. More... | |
| BAS1 | |
| An instance of PiStormsSensor representing Bank A sensor 1. More... | |
| BAS2 | |
| An instance of PiStormsSensor representing Bank A sensor 2. More... | |
| BBS1 | |
| An instance of PiStormsSensor representing Bank B sensor 1. More... | |
| BBS2 | |
| An instance of PiStormsSensor representing Bank B sensor 2. More... | |
| BAM1 | |
| An instance of PiStormsMotor representing Bank A motor 1. More... | |
| BAM2 | |
| An instance of PiStormsMotor representing Bank A motor 2. More... | |
| BBM1 | |
| An instance of PiStormsMotor representing Bank B motor 1. More... | |
| BBM2 | |
| An instance of PiStormsMotor representing Bank B motor 2. More... | |
rmap_PISTORMS: this class provides functions for PISTORMS integration with scratch for read and write operations with scratch.