potentiometer — Onboard Potentiometer¶
The main functionality and function of the potentiometer module
Function¶
-
potentiometer.get_value()¶ Get the current value of the potentiometer knob. The value range is
0 ~ 100.
Sample Code:¶
import codey
while True:
codey.display.show(codey.potentiometer.get_value())