Ligne 4 : |
Ligne 4 : |
| This section of the tutoriel contains small portion of code explaining how to use digital pins, analog pins, buses and all the fundamentals to control the board with Python code. | | This section of the tutoriel contains small portion of code explaining how to use digital pins, analog pins, buses and all the fundamentals to control the board with Python code. |
| | | |
− | Everything you learned about python language like variables, loops, conditionals, object programming, ... does applies to MicroPython. | + | Everything you learned about Python 3 language like variables, loops, conditionals, object programming, ... does applies to MicroPython. |
| | | |
| A large part of standard Python libraries have been ported to MicroPython (partially or completely). Keep in mind that MicroControler doesn't have as much power and as much memory than a regular computer. So choice has been made: no gregorian calandar, no numpy (it exists some port anyway), no TKinter. | | A large part of standard Python libraries have been ported to MicroPython (partially or completely). Keep in mind that MicroControler doesn't have as much power and as much memory than a regular computer. So choice has been made: no gregorian calandar, no numpy (it exists some port anyway), no TKinter. |
| | | |
− | Here some fundamentals helps about the Python language himself: | + | === Needs some helps about python? === |
| + | |
| + | This section is not a training course about Python. Anyway, Python is quite easy to learn and do not requires lot of efforts. |
| + | |
| + | Here follows some fundamentals help links about the Python language himself: |
| + | * [https://www.w3schools.com/python/ '''W3Schools''' on Python] : one of the best resource for learning online. |
| * [https://www.pythoncheatsheet.org/#Python-Basics '''P'''ython'''C'''heat'''S'''heet.org] : Anyone can forget how to make loop, list, dictionary, tuple, list slice, math operator, generator... | | * [https://www.pythoncheatsheet.org/#Python-Basics '''P'''ython'''C'''heat'''S'''heet.org] : Anyone can forget how to make loop, list, dictionary, tuple, list slice, math operator, generator... |
− | * [https://www.w3schools.com/python/ '''W3Schools''' on Python] : one of the best resource for learning online.
| |
| * [https://www.pythonsheets.com/ pythonsheets.com] : more advanced cheat sheet. | | * [https://www.pythonsheets.com/ pythonsheets.com] : more advanced cheat sheet. |
| | | |