setultrasonicpins() The function initializes the ultrasonic sensor with specified echo and trig pins.
ispadtouched() The function returns the state of the specified touch sensor of Quarky. If the touchpad is touched it will return True, else False.
getirstate() The function returns the state of the specified IR sensor. It returns True if the current IR sensor value is greater than the threshold value, else Fa…
setirthreshold() The function sets the threshold value of the specified IR sensor to the specified value. The value can be from 0 to 4095.
readpushbutton() The function returns the state of the specified push button. If the button is pressed it returns True or else False.
showscrollingtext() The function runs the specified text message on the RGB LED of Quarky. You can also set the speed and the color of the text.