mirror of
https://github.com/micropython/micropython.git
synced 2026-01-11 06:27:14 +01:00
Updated Learn Micropython (markdown)
@@ -16,6 +16,16 @@ Python is an easy to learn, well documented programming language. Learning pytho
|
||||
## Diving into micro-python
|
||||
Now that you have learned the basics of python, it is important to review the [[Differences to CPython|Differences]] wiki page. Micropython supports surprisingly large part of the python language including numeric types, strings, tuples, lists, dictionaries, classes (with inheritance) and many more. However, it's "batteries included" philosophy is reduced in order to keep everything small, with the standard library modules being supported in [micropython-lib](https://github.com/micropython/micropython-lib)
|
||||
|
||||
You can start out with either linux or the pyboard. If you don't have the pyboard, it is [[easy to get started on linux machines|Getting Started]]. You can also [try out the pyboard online](http://micropython.org/live/)
|
||||
### pyboard
|
||||
The pyboard is the official implementation of micropython on a microcontroller chip. Support for more microcontrollers and platforms is ongoing and listed at [[Boards Summary|Boards Summary]]
|
||||
|
||||
For more documentation and guides, check out the [official pyboard documentation](http://docs.micropython.org/en/latest/).
|
||||
|
||||
#### The pyb module
|
||||
This module allows access to the internal peripherals of the microcontroller chip on which micropython is implemented, such as pins, ADC, pwm, timers, I2c and other peripherals.
|
||||
|
||||
Documentation: http://docs.micropython.org/en/latest/library/pyb.html
|
||||
|
||||
### Linux
|
||||
If you don't have the pyboard, it is [[easy to get started on linux machines|Getting Started]]. You can also [try out the pyboard online](http://micropython.org/live/)
|
||||
|
||||
For more documentation and guides, check out the [official pyboard documentation](http://docs.micropython.org/en/latest/)
|
||||
|
||||
Reference in New Issue
Block a user