Some code examples from the Raspberry Pi Pico IoT Pico workshops
Please use alongside this slide deck.
The following cheat sheets may help as well:
- Installing MicoPython on the Pico using Thonny
- Digital output with LEDs cheat sheet
- AHT10 temperature sensor cheat sheet
- HC-SRO4 ultrasonic distance sensor cheat sheet
- HC-SR501 infrared motion sensor cheat sheet
Other resources: