MicroPython documentation and references¶
- 程小奔的python接口
- 小程的python接口
- 小程的python接口列表
led--- 板载全彩LED灯display--- 表情面板speaker--- 板载扬声器sound_sensor--- 板载音量传感器light_sensor--- 板载光线传感器potentiometer--- 板载电位器旋钮button_a--- 板载按键Abutton_b--- 板载按键Bbutton_c--- 板载按键Cmotion_sensor--- 板载姿态传感器ir--- 板载红外收发wifi--- 板载wifibattery--- 内置锂电池codey_timer--- 计数器codey_broadcast--- 广播模块codey_external_module_detect--- 模块接入检测codey_script_control--- 脚本/线程控制event--- 事件处理单元
- 小程的python接口列表
- 小奔的python接口
- 第三方类库的python接口
- 神经元扩展模块的python接口
- 小程的python接口
- 程小奔的实例教程
- 光环板的python接口
- 光环板的python接口
- 光环板的python接口分类
- broadcast 接口列表
- driver 接口列表
- event 接口列表
- cloud_message 接口列表
- pin 接口列表
- speech_recognition 接口列表
- timer 接口列表
- wifi 接口列表
- 光环板的python接口分类
- 第三方类库的python接口
- 神经元扩展模块的python接口
- 光环板的python接口
- 光环板的实例教程
- novapi主控python接口
- novapi的实例教程
- microPython 官方类库
- micropython 标准库
- Builtin functions and exceptions
array-- arrays of numeric datacmath-- mathematical functions for complex numbersgc-- control the garbage collectormath-- mathematical functionssys-- system specific functionsubinascii-- binary/ASCII conversionsucollections-- collection and container typesuerrno-- system error codesuhashlib-- hashing algorithmsuheapq-- heap queue algorithmuio-- input/output streamsujson-- JSON encoding and decodinguos-- basic "operating system" servicesure-- simple regular expressionsuselect-- wait for events on a set of streamsusocket-- socket moduleussl-- SSL/TLS moduleustruct-- pack and unpack primitive data typesutime-- time related functionsuzlib-- zlib decompression_thread-- multithreading support
- microPython 特有类库
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 Signal -- control and sense external I/O devices
- class ADC -- analog to digital conversion
- class ADCChannel --- read analog values from internal or external sources
- 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 WDT -- watchdog timer
- class SD -- secure digital memory card
micropython-- access and control MicroPython internalsucryptolib-- cryptographic ciphersuctypes-- access binary data in a structured way
- micropython 标准库
- microPython 语言介绍
- Glossary
- The MicroPython Interactive Interpreter Mode (aka REPL)
- Writing interrupt handlers
- Maximising MicroPython Speed
- MicroPython on Microcontrollers
- Distribution packages, package management, and deploying applications
- Inline Assembler for Thumb2 architectures
- Document conventions
- Instruction Categories
- 1. Register move instructions
- 2. Load register from memory
- 3. Store register to memory
- 4. Logical & Bitwise instructions
- 5. Arithmetic instructions
- 6. Comparison instructions
- 7. Branch instructions
- 8. Stack push and pop
- 9. Miscellaneous instructions
- 10. Floating Point instructions
- 11. Assembler Directives
- Usage examples
- References
- microPython 和 python 的差异
- Syntax
- Core Language
- Builtin Types
- Exception
- bytearray
- bytes
- float
- int
- list
- str
- 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 许可证信息