MicroPython documentation and references¶
- Quick reference for the ESP8266
- Installing MicroPython
- General board control
- Networking
- Delay and timing
- Timers
- Pins and GPIO
- PWM (pulse width modulation)
- ADC (analog to digital conversion)
- Software SPI bus
- Hardware SPI bus
- I2C bus
- Deep-sleep mode
- OneWire driver
- NeoPixel driver
- APA102 driver
- DHT driver
- WebREPL (web browser interactive prompt)
- MicroPython libraries
- Python standard libraries and micro-libraries
array
– arrays of numeric data- Builtin Functions
gc
– control the garbage collectormath
– mathematical functionssys
– system specific functionsubinascii
– binary/ASCII conversionsucollections
– collection and container typesuhashlib
– hashing algorithmuheapq
– heap queue algorithmuio
– input/output streamsujson
– JSON encoding and decodinguos
– basic “operating system” servicesure
– regular expressionsusocket
– socket moduleussl
– ssl moduleustruct
– pack and unpack primitive data typesutime
– time related functionsuzlib
– zlib decompression
- MicroPython-specific libraries
machine
— functions related to the board- Reset related functions
- Interrupt related functions
- Power related functions
- Miscellaneous functions
- Constants
- Classes
- class ADC – analog to digital conversion
- class ADCChannel — read analog values from internal or external sources
- class I2C – a two-wire serial protocol
- class Pin – control I/O pins
- class RTC – real time clock
- class SD – secure digital memory card
- class SPI – a master-driven serial protocol
- class Timer – control internal timers
- class TimerChannel — setup a channel for a timer
- class UART – duplex serial communication bus
- class WDT – watchdog timer
micropython
– access and control MicroPython internalsnetwork
— network configurationuctypes
– access binary data in a structured way
- Libraries specific to the ESP8266
- Python standard libraries and micro-libraries
- MicroPython license information
- MicroPython documentation contents
- Quick reference for the ESP8266
- Installing MicroPython
- General board control
- Networking
- Delay and timing
- Timers
- Pins and GPIO
- PWM (pulse width modulation)
- ADC (analog to digital conversion)
- Software SPI bus
- Hardware SPI bus
- I2C bus
- Deep-sleep mode
- OneWire driver
- NeoPixel driver
- APA102 driver
- DHT driver
- WebREPL (web browser interactive prompt)
- General information about the ESP8266 port
- MicroPython tutorial for ESP8266
- 1. Getting started with MicroPython on the ESP8266
- 2. Getting a MicroPython REPL prompt
- 3. The internal filesystem
- 4. Network basics
- 5. Network - TCP sockets
- 6. GPIO Pins
- 7. Pulse Width Modulation
- 8. Analog to Digital Conversion
- 9. Power control
- 10. Controlling 1-wire devices
- 11. Controlling NeoPixels
- 12. Temperature and Humidity
- 13. Next steps
- MicroPython libraries
- Python standard libraries and micro-libraries
array
– arrays of numeric data- Builtin Functions
gc
– control the garbage collectormath
– mathematical functionssys
– system specific functionsubinascii
– binary/ASCII conversionsucollections
– collection and container typesuhashlib
– hashing algorithmuheapq
– heap queue algorithmuio
– input/output streamsujson
– JSON encoding and decodinguos
– basic “operating system” servicesure
– regular expressionsusocket
– socket moduleussl
– ssl moduleustruct
– pack and unpack primitive data typesutime
– time related functionsuzlib
– zlib decompression
- MicroPython-specific libraries
machine
— functions related to the board- Reset related functions
- Interrupt related functions
- Power related functions
- Miscellaneous functions
- Constants
- Classes
- class ADC – analog to digital conversion
- class ADCChannel — read analog values from internal or external sources
- class I2C – a two-wire serial protocol
- class Pin – control I/O pins
- class RTC – real time clock
- class SD – secure digital memory card
- class SPI – a master-driven serial protocol
- class Timer – control internal timers
- class TimerChannel — setup a channel for a timer
- class UART – duplex serial communication bus
- class WDT – watchdog timer
micropython
– access and control MicroPython internalsnetwork
— network configurationuctypes
– access binary data in a structured way
- Libraries specific to the ESP8266
- Python standard libraries and micro-libraries
- The MicroPython language
- The MicroPython Interactive Interpreter Mode (aka REPL)
- Writing interrupt handlers
- Maximising Python Speed
- MicroPython license information
- Quick reference for the ESP8266