mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-20 04:43:21 +00:00
476 B
476 B
CHIP_IO.SERVO
Import the SERVO module as follows
import CHIP_IO.SERVO as SERVO
toggle_debug()
Enable/Disable the Debug
-
Parameters
None
-
Examples
SERVO.toggle_debug()
is_chip_pro()
Function to report to the calling script if the SBC is a CHIP or a CHIP Pro
-
Parameters
None
-
Returns
int - 1 for CHIP Pro, 0 for CHIP
-
Examples
is_chip_pro = UT.is_chip_pro()