Editing Tutorial Digital IO
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 36: | Line 36: | ||
The videos are a first test... the ones marked with ** will be replaced over the next months with new versions. | The videos are a first test... the ones marked with ** will be replaced over the next months with new versions. | ||
− | |||
− | |||
− | |||
== Digital Output: Adding an external LED to the controller == | == Digital Output: Adding an external LED to the controller == | ||
Line 44: | Line 41: | ||
<youtube>0KGgYsEZcZM</youtube> | <youtube>0KGgYsEZcZM</youtube> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
If you use the [[ESP8266_D1_Mini]] have a look at this file about which Pins to use: https://micropython-on-wemos-d1-mini.readthedocs.io/en/latest/basics.html | If you use the [[ESP8266_D1_Mini]] have a look at this file about which Pins to use: https://micropython-on-wemos-d1-mini.readthedocs.io/en/latest/basics.html | ||
Line 59: | Line 50: | ||
− | == PWM Output: connecting a servo | + | == PWM Output: connecting a servo (old version using WebREPL **) == |
− | In this video on youtube ( | + | In this video on youtube (14:40) we explain the concept of pulse width modulation (PWM) and how to program it in MicrpPython. We show how to use PWM to controll a servo: https://youtu.be/_4bXk8JjQSk |
− | |||
− | |||
− | |||
− | |||
− | |||
<youtube>_4bXk8JjQSk</youtube> | <youtube>_4bXk8JjQSk</youtube> | ||
Line 79: | Line 65: | ||
<youtube>va1beT6sxLs</youtube> | <youtube>va1beT6sxLs</youtube> | ||
− | |||
− | |||
− | |||
− | |||
− |