Programmierbeispiele in Python für den PiHut Maker Kalender
images | ||
2-dezember.py | ||
3-dezember.py | ||
README.md |
Day 2 Complete!
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
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