MicroPython Tutorial XVIII
2 min readSep 1, 2019
Ok, lets do something else for a break and indeed touch on the last sensor we’re going cover, which is called ironically touch, pun intended.
You get two touch sensors in both kits I believe, and it is quite simple to use them, with just two properties. Either they are being touched or not basically.
Let combine this with a common requirement you get in lots of app, the requirement to time something. We’re going a use a special method you get with MicroPython and combined with some simple math. Here is our basic script.