Open microbit-carlos opened 7 months ago
Also took the opportunity to move the explanation of capacitive/resistive touch modes from is_touched()
to set_touch_mode()
and remove the duplicated note:
Before | After |
---|---|
Also took the opportunity to move the explanation of capacitive/resistive touch modes from
is_touched()
toset_touch_mode()
and remove the duplicated note:
Yes, that's a good clean up.
As well keep this PR unmerged until the next MicroPython v2 beta is released, and this PR already touches the pin page, I've also added here the touch_calibrate()
method.
Preview: https://microbit-micropython--802.org.readthedocs.build/en/802/pin.html#microbit.MicroBitTouchPin