MicroPython documentation and references¶
- Quick reference for the WiPy
- General information about the WiPy
- No floating point support
- Before applying power
- WLAN default behaviour
- Telnet REPL
- Local file system and FTP access
- FileZilla settings
- Upgrading the firmware Over The Air
- Boot modes and safe boot
- The heartbeat LED
- Details on sleep modes
- Additional details for machine.Pin
- Additional details for machine.I2C
- Known issues
- WiPy tutorials and examples
- MicroPython libraries
- Python standard libraries and micro-libraries
- Builtin functions and exceptions
array
– arrays of numeric datagc
– control the garbage collectorsys
– system specific functionsubinascii
– binary/ASCII conversionsujson
– JSON encoding and decodinguos
– basic “operating system” servicesure
– simple regular expressionsuselect
– wait for events on a set of streamsusocket
– socket moduleussl
– SSL/TLS moduleutime
– time related functions
- MicroPython-specific libraries
btree
– simple BTree databaseframebuf
— Frame buffer manipulationmachine
— functions related to the hardware- Reset related functions
- Interrupt related functions
- Power related functions
- Miscellaneous functions
- Constants
- Classes
- class Pin – control I/O pins
- class UART – duplex serial communication bus
- class SPI – a Serial Peripheral Interface bus protocol (master side)
- class I2C – a two-wire serial protocol
- class RTC – real time clock
- class Timer – control hardware timers
- class TimerChannel — setup a channel for a timer
- class WDT – watchdog timer
- class ADC – analog to digital conversion
- class ADCChannel — read analog values from internal or external sources
- class SD – secure digital memory card
micropython
– access and control MicroPython internalsnetwork
— network configurationuctypes
– access binary data in a structured way
- Libraries specific to the WiPy
- Python standard libraries and micro-libraries
- The MicroPython language
- Glossary
- The MicroPython Interactive Interpreter Mode (aka REPL)
- Writing interrupt handlers
- Maximising MicroPython Speed
- MicroPython on Microcontrollers
- MicroPython differences from CPython
- Syntax
- Core Language
- Builtin Types
- Exception
- bytearray
- bytes
- float
- int
- list
- str
- UnicodeDecodeError not raised when expected
- Start/end indices such as str.endswith(s, start) not implemented
- Attributes/subscr not implemented
- str(…) with keywords not implemented
- str.ljust() and str.rjust() not implemented
- None as first argument for rsplit such as str.rsplit(None, n) not implemented
- Instance of a subclass of str cannot be compared for equality with an instance of a str
- Subscript with step != 1 is not yet implemented
- tuple
- Modules
- MicroPython license information