pihut-advent-kalender/README.md

44 lines
1.9 KiB
Markdown
Raw Normal View History

2023-12-02 12:40:44 +00:00
Day 2 Complete!
2023-12-02 12:39:41 +00:00
Another great day of learning how to code with the Raspberry Pi Pico and MicroPython! Today you have:
Created your first circuit!
Learnt how to use the time module to add delays to programs
Learnt how to use while loops and conditions
Learnt about variables (our counter)
Learnt about code commentary
Created a dashing, flashing sequence of LEDs
-------------------------------------------------------------------------------------------------------
2023-12-03 10:58:16 +00:00
Day 3 Complete!
Great job makers, you ve now got the skills to use physical inputs with MicroPython (which will come in handy for the rest of the calendar) and can code if statements in all sorts of interesting new ways!
Today you have learnt:
How to create a circuit with physical inputs
How to code physical inputs with MicroPython
What if statements are and how to use them
How to use elif and else within if statements
How to use 'and and 'or' within if statement conditions
Combined physical inputs with physical outputs
-------------------------------------------------------------------------------------------------------
2023-12-04 18:00:57 +00:00
Day 4 Complete!
Well done makers! We know today was a little heavier as we introduced slightly more advanced topics such as analogue and PWM, so take the time to go back over today's examples and play with the code if you'd like more practice - make it, break it, fix it, learn!
Today you have:
Learnt about analogue and the difference between analogue and digital signals
Built a circuit with a potentiometer
Leant how to use the ADC built into the Raspberry Pi Pico
Controlled LEDs with an analogue signal
Learnt about PWM including duty cycle and frequency
------------------------------------------------------------------------------------------------------
2023-12-02 12:52:14 +00:00
<img src="https://git.unixweb.net/unixweb/pihut-advent-kalender/raw/branch/master/images/pihut-advent-kalender.jpg">
2023-12-02 12:39:41 +00:00