MicroPython
1.16
MicroPython libraries
MicroPython language and implementation
MicroPython differences from CPython
MicroPython Internals
MicroPython license information
Quick reference for the pyboard
Quick reference for the ESP8266
Quick reference for the ESP32
Quick reference for the RP2
Quick reference for the WiPy
Quick reference for the UNIX and Windows ports
MicroPython
Docs
»
Index
Index
Symbols
|
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
Y
|
Z
Symbols
-c <command>
command line option
-h
command line option
-i
command line option
-m <module>
command line option
-O | -O<level> | -OO...
command line option
-v
command line option
-X <option>
command line option
.mpy file
.py file
<args>
command line option
<script>
command line option
_
__call__() (machine.Pin method)
(pyb.Switch method)
__contains__() (btree.btree method)
__delitem__() (btree.btree method)
__getitem__() (btree.btree method)
__init__() (ucryptolib.aes class method)
__iter__() (btree.btree method)
__setitem__() (btree.btree method)
__str__() (pyb.Pin method)
(pyb.pinaf method)
_thread
module
A
a2b_base64() (in module ubinascii)
abs()
built-in function
AbstractBlockDev (class in uos)
AbstractNIC (class in network)
accept() (usocket.socket method)
acos() (in module math)
acosh() (in module math)
acquire() (uasyncio.Lock method)
active() (network.AbstractNIC method)
(network.WLAN method)
(rp2.StateMachine method)
(ubluetooth.BLE method)
ADC (class in machine)
adcchannel() (in module machine)
ADCWiPy (class in machine)
add_program() (rp2.PIO method)
addressof() (in module uctypes)
aes (class in ucryptolib)
af() (pyb.Pin method)
AF_INET (in module usocket)
AF_INET6 (in module usocket)
af_list() (pyb.Pin method)
alarm() (machine.RTC method)
alarm_left() (machine.RTC method)
all()
built-in function
alloc_emergency_exception_buf() (in module micropython)
alt_list() (machine.Pin method)
angle() (pyb.Servo method)
antenna() (network.WLANWiPy method)
any()
built-in function
any() (machine.UART method)
(pyb.CAN method)
(pyb.UART method)
(pyb.USB_VCP method)
append() (uarray.array method)
(ucollections.deque method)
argv (in module usys)
array (class in uarray)
ARRAY (in module uctypes)
asin() (in module math)
asinh() (in module math)
asm_pio() (in module rp2)
asm_pio_encode() (in module rp2)
AssertionError
atan() (in module math)
atan2() (in module math)
atanh() (in module math)
atexit() (in module usys)
atten() (ADC method)
AttributeError
auth() (network.WLANWiPy method)
B
b2a_base64() (in module ubinascii)
baremetal
BIG_ENDIAN (in module uctypes)
bin()
built-in function
bind() (usocket.socket method)
BLE (class in ubluetooth)
blit() (framebuf.FrameBuffer method)
board
bool (built-in class)
bootloader() (in module machine)
(in module pyb)
btree
module
buffer protocol
built-in function
abs()
all()
any()
bin()
callable()
chr()
classmethod()
compile()
delattr()
dir()
divmod()
enumerate()
eval()
exec()
filter()
getattr()
globals()
hasattr()
hash()
hex()
id()
input()
isinstance()
issubclass()
iter()
len()
locals()
main()
map()
max()
min()
mkfs()
mount()
next()
oct()
open()
ord()
pow()
print()
property()
range()
repr()
reversed()
round()
setattr()
sorted()
staticmethod()
sum()
super()
type()
unmount()
zip()
bytearray (built-in class)
bytearray_at() (in module uctypes)
bytecode
byteorder (in module usys)
bytes (built-in class)
bytes_at() (in module uctypes)
BytesIO (class in uio)
C
calcsize() (in module ustruct)
calibration() (pyb.RTC method)
(pyb.Servo method)
call_exception_handler() (uasyncio.Loop method)
callable()
built-in function
callback() (pyb.Switch method)
(pyb.Timer method)
(pyb.timerchannel method)
callee-owned tuple
CAN.BUS_OFF (in module pyb)
CAN.ERROR_ACTIVE (in module pyb)
CAN.ERROR_PASSIVE (in module pyb)
CAN.ERROR_WARNING (in module pyb)
CAN.LIST16 (in module pyb)
CAN.LIST32 (in module pyb)
CAN.LOOPBACK (in module pyb)
CAN.MASK16 (in module pyb)
CAN.MASK32 (in module pyb)
CAN.NORMAL (in module pyb)
CAN.SILENT (in module pyb)
CAN.SILENT_LOOPBACK (in module pyb)
CAN.STOPPED (in module pyb)
cancel() (machine.RTC method)
(uasyncio.Task method)
capture() (pyb.timerchannel method)
CC3K (class in network)
CC3K.WEP (in module network)
CC3K.WPA (in module network)
CC3K.WPA2 (in module network)
ceil() (in module math)
channel() (machine.ADCWiPy method)
(machine.TimerWiPy method)
(network.WLANWiPy method)
(pyb.Timer method)
chdir() (in module uos)
chr()
built-in function
CircuitPython
classmethod()
built-in function
clear() (uasyncio.Event method)
clearfilter() (pyb.CAN method)
clock_div() (esp32.RMT method)
close() (btree.btree method)
(pyb.USB_VCP method)
(uasyncio.Loop method)
(uasyncio.Server method)
(uasyncio.Stream method)
(usocket.socket method)
cmath
module
collect() (in module gc)
command line option
-c <command>
-h
-i
-m <module>
-O | -O<level> | -OO...
-v
-X <option>
<args>
<script>
command() (pyb.LCD method)
commit() (esp32.NVS method)
compare() (pyb.timerchannel method)
compile()
built-in function
compile() (in module ure)
complex (built-in class)
config() (network.AbstractNIC method)
(network.WLAN method)
(ubluetooth.BLE method)
connect() (network.AbstractNIC method)
(network.CC3K method)
(network.WLAN method)
(network.WLANWiPy method)
(usocket.socket method)
const() (in module micropython)
contrast() (pyb.LCD method)
copysign() (in module math)
cos() (in module cmath)
(in module math)
cosh() (in module math)
counter() (pyb.Timer method)
CPython
create_task() (in module uasyncio)
(uasyncio.Loop method)
cross-compiler
current_task() (in module uasyncio)
D
datetime() (machine.RTC method)
(pyb.RTC method)
DEBUG (in module ure)
debug() (pyb.Pin class method)
DecompIO (class in uzlib)
decompress() (in module uzlib)
decrypt() (ucryptolib.aes method)
deepsleep() (in module esp)
(in module machine)
default_exception_handler() (uasyncio.Loop method)
degrees() (in module math)
deinit() (machine.adcchannel method)
(machine.ADCWiPy method)
(machine.I2C method)
(machine.PWM method)
(machine.RTC method)
(machine.SD method)
(machine.SPI method)
(machine.Timer method)
(machine.TimerWiPy method)
(machine.UART method)
(pyb.CAN method)
(pyb.DAC method)
(pyb.I2C method)
(pyb.SPI method)
(pyb.Timer method)
(pyb.UART method)
(server method)
delattr()
built-in function
delay() (in module pyb)
deque() (in module ucollections)
DESC (in module btree)
dict (built-in class)
dict() (pyb.Pin class method)
digest() (uhashlib.hash method)
dir()
built-in function
disable() (in module gc)
(pyb.ExtInt method)
disable_irq() (in module machine)
(in module pyb)
disconnect() (network.AbstractNIC method)
(network.CC3K method)
(network.WLAN method)
(network.WLANWiPy method)
divmod()
built-in function
dot() (lcd160cr.LCD160CR method)
dot_no_clip() (lcd160cr.LCD160CR method)
drain() (uasyncio.Stream method)
drive() (machine.Pin method)
driver
dump() (in module ujson)
dumps() (in module ujson)
dupterm() (in module uos)
duty_cycle() (machine.timerchannel method)
duty_ns() (machine.PWM method)
duty_u16() (machine.PWM method)
E
e (in module cmath)
(in module math)
elapsed_micros() (in module pyb)
elapsed_millis() (in module pyb)
enable() (in module gc)
(pyb.ExtInt method)
enable_irq() (in module machine)
(in module pyb)
encrypt() (ucryptolib.aes method)
end() (ure.match method)
enumerate()
built-in function
environment variable
MICROPYINSPECT
,
[1]
MICROPYPATH
erase() (lcd160cr.LCD160CR method)
erase_key() (esp32.NVS method)
erf() (in module math)
erfc() (in module math)
errorcode (in module uerrno)
esp
module
esp32
module
esp32.WAKEUP_ALL_LOW (in module esp32)
esp32.WAKEUP_ANY_HIGH (in module esp32)
eval()
built-in function
Event (class in uasyncio)
Exception
exec()
built-in function
exec() (rp2.StateMachine method)
exit() (in module usys)
exp() (in module cmath)
(in module math)
expm1() (in module math)
extend() (uarray.array method)
ExtInt.IRQ_FALLING (in module pyb)
ExtInt.IRQ_RISING (in module pyb)
ExtInt.IRQ_RISING_FALLING (in module pyb)
F
fabs() (in module math)
fast_spi() (lcd160cr.LCD160CR method)
fault_debug() (in module pyb)
feed() (machine.wdt method)
feed_wdt() (lcd160cr.LCD160CR method)
FFI
FileIO (class in uio)
filesystem
fill() (framebuf.FrameBuffer method)
(pyb.LCD method)
fill_rect() (framebuf.FrameBuffer method)
filter()
built-in function
filtered_xyz() (pyb.Accel method)
find() (esp32.Partition class method)
Flash (class in rp2)
flash_erase() (in module esp)
flash_id() (in module esp)
flash_read() (in module esp)
flash_size() (in module esp)
flash_user_start() (in module esp)
flash_write() (in module esp)
float (built-in class)
FLOAT32 (in module uctypes)
FLOAT64 (in module uctypes)
floor() (in module math)
flush() (btree.btree method)
fmod() (in module math)
framebuf
module
framebuf.GS2_HMSB (in module framebuf)
framebuf.GS4_HMSB (in module framebuf)
framebuf.GS8 (in module framebuf)
framebuf.MONO_HLSB (in module framebuf)
framebuf.MONO_HMSB (in module framebuf)
framebuf.MONO_VLSB (in module framebuf)
framebuf.RGB565 (in module framebuf)
FrameBuffer (class in framebuf)
freq() (in module machine)
(in module pyb)
(machine.PWM method)
(machine.timerchannel method)
(pyb.Timer method)
frexp() (in module math)
from_bytes() (int class method)
frozen module
frozenset (built-in class)
G
gamma() (in module math)
gap_advertise() (ubluetooth.BLE method)
gap_connect() (ubluetooth.BLE method)
gap_disconnect() (ubluetooth.BLE method)
gap_pair() (ubluetooth.BLE method)
gap_passkey() (ubluetooth.BLE method)
gap_scan() (ubluetooth.BLE method)
Garbage Collector
gather() (in module uasyncio)
gattc_discover_characteristics() (ubluetooth.BLE method)
gattc_discover_descriptors() (ubluetooth.BLE method)
gattc_discover_services() (ubluetooth.BLE method)
gattc_exchange_mtu() (ubluetooth.BLE method)
gattc_read() (ubluetooth.BLE method)
gattc_write() (ubluetooth.BLE method)
gatts_indicate() (ubluetooth.BLE method)
gatts_notify() (ubluetooth.BLE method)
gatts_read() (ubluetooth.BLE method)
gatts_register_services() (ubluetooth.BLE method)
gatts_set_buffer() (ubluetooth.BLE method)
gatts_write() (ubluetooth.BLE method)
gc
module
get() (btree.btree method)
(pyb.LCD method)
(rp2.StateMachine method)
get_blob() (esp32.NVS method)
get_event_loop() (in module uasyncio)
get_exception_handler() (uasyncio.Loop method)
get_extra_info() (uasyncio.Stream method)
get_i32() (esp32.NVS method)
get_line() (lcd160cr.LCD160CR method)
get_next_update() (esp32.Partition method)
get_pixel() (lcd160cr.LCD160CR method)
get_touch() (lcd160cr.LCD160CR method)
getaddrinfo() (in module usocket)
getattr()
built-in function
getcwd() (in module uos)
getvalue() (uio.BytesIO method)
globals()
built-in function
gmtime() (in module utime)
GPIO
GPIO port
gpio() (pyb.Pin method)
group() (ure.match method)
groups() (ure.match method)
H
hall_sensor() (in module esp32)
hard_reset() (in module pyb)
hasattr()
built-in function
hash()
built-in function
have_cdc() (in module pyb)
heap
HEAP_DATA (in module esp32)
HEAP_EXEC (in module esp32)
heap_lock() (in module micropython)
heap_locked() (in module micropython)
heap_unlock() (in module micropython)
heapify() (in module uheapq)
heappop() (in module uheapq)
heappush() (in module uheapq)
heartbeat() (in module wipy)
hex()
built-in function
hexdigest() (uhashlib.hash method)
hexlify() (in module ubinascii)
hid() (in module pyb)
high() (machine.Pin method)
hline() (framebuf.FrameBuffer method)
I
I2C (class in machine)
I2C.MASTER (in module pyb)
I2C.SLAVE (in module pyb)
id()
built-in function
idf_heap_info() (in module esp32)
idle() (in module machine)
ifconfig() (network.AbstractNIC method)
(network.CC3K method)
(network.WIZNET5K method)
(network.WLAN method)
(network.WLANWiPy method)
ilistdir() (in module uos)
implementation (in module usys)
ImportError
INCL (in module btree)
index() (pyb.pinaf method)
IndexError
inet_ntop() (in module usocket)
inet_pton() (in module usocket)
info() (esp32.Partition method)
(in module pyb)
(pyb.CAN method)
(pyb.RTC method)
init() (machine.adcchannel method)
(machine.ADCWiPy method)
(machine.I2C method)
(machine.Pin method)
(machine.PWM method)
(machine.RTC method)
(machine.SD method)
(machine.SPI method)
(machine.Timer method)
(machine.TimerWiPy method)
(machine.UART method)
(network.WLANWiPy method)
(pyb.CAN method)
(pyb.DAC method)
(pyb.I2C method)
(pyb.Pin method)
(pyb.SPI method)
(pyb.Timer method)
(pyb.UART method)
(pyb.USB_VCP method)
(rp2.StateMachine method)
(server method)
initfilterbanks() (pyb.CAN class method)
input()
built-in function
int (built-in class)
INT16 (in module uctypes)
INT32 (in module uctypes)
INT64 (in module uctypes)
INT8 (in module uctypes)
intensity() (pyb.LED method)
interned string
ioctl() (esp32.Partition method)
(pyb.Flash method)
(rp2.Flash method)
(uos.AbstractBlockDev method)
ipoll() (uselect.poll method)
IPPROTO_SEC (in module usocket)
IPPROTO_TCP (in module usocket)
IPPROTO_UDP (in module usocket)
irq() (machine.Pin method)
(machine.RTC method)
(machine.timerchannel method)
(machine.UART method)
(network.WLANWiPy method)
(pyb.USB_VCP method)
(rp2.PIO method)
(rp2.StateMachine method)
(ubluetooth.BLE method)
is_ready() (pyb.I2C method)
is_set() (uasyncio.Event method)
is_touched() (lcd160cr.LCD160CR method)
isconnected() (network.AbstractNIC method)
(network.CC3K method)
(network.WIZNET5K method)
(network.WLAN method)
(network.WLANWiPy method)
(pyb.USB_VCP method)
isfinite() (in module math)
isinf() (in module math)
isinstance()
built-in function
isnan() (in module math)
isrunning() (server method)
issubclass()
built-in function
items() (btree.btree method)
iter()
built-in function
J
jpeg() (lcd160cr.LCD160CR method)
jpeg_data() (lcd160cr.LCD160CR method)
jpeg_start() (lcd160cr.LCD160CR method)
K
kbd_intr() (in module micropython)
KeyboardInterrupt
KeyError
keys() (btree.btree method)
L
l2cap_connect() (ubluetooth.BLE method)
l2cap_disconnect() (ubluetooth.BLE method)
l2cap_listen() (ubluetooth.BLE method)
l2cap_recvinto() (ubluetooth.BLE method)
l2cap_send() (ubluetooth.BLE method)
lcd160cr
module
LCD160CR (class in lcd160cr)
LCD160CR.h (in module lcd160cr)
lcd160cr.LANDSCAPE (in module lcd160cr)
lcd160cr.LANDSCAPE_UPSIDEDOWN (in module lcd160cr)
lcd160cr.PORTRAIT (in module lcd160cr)
lcd160cr.PORTRAIT_UPSIDEDOWN (in module lcd160cr)
lcd160cr.STARTUP_DECO_INFO (in module lcd160cr)
lcd160cr.STARTUP_DECO_MLOGO (in module lcd160cr)
lcd160cr.STARTUP_DECO_NONE (in module lcd160cr)
LCD160CR.w (in module lcd160cr)
ldexp() (in module math)
len()
built-in function
lgamma() (in module math)
light() (pyb.LCD method)
lightsleep() (in module machine)
line() (framebuf.FrameBuffer method)
(lcd160cr.LCD160CR method)
(pyb.ExtInt method)
line_no_clip() (lcd160cr.LCD160CR method)
list (built-in class)
listdir() (in module uos)
listen() (usocket.socket method)
LITTLE_ENDIAN (in module uctypes)
load() (in module ujson)
load_binary() (esp32.ULP method)
loads() (in module ujson)
locals()
built-in function
localtime() (in module utime)
Lock (class in uasyncio)
locked() (uasyncio.Lock method)
log() (in module cmath)
(in module math)
log10() (in module cmath)
(in module math)
log2() (in module math)
Loop (class in uasyncio)
loop() (esp32.RMT method)
low() (machine.Pin method)
M
mac() (network.WLANWiPy method)
machine
module
machine.DEEPSLEEP (in module machine)
machine.DEEPSLEEP_RESET (in module machine)
machine.HARD_RESET (in module machine)
machine.IDLE (in module machine)
machine.PIN_WAKE (in module machine)
machine.PWRON_RESET (in module machine)
machine.RTC_WAKE (in module machine)
machine.SLEEP (in module machine)
machine.SOFT_RESET (in module machine)
machine.WDT_RESET (in module machine)
machine.WLAN_WAKE (in module machine)
main()
built-in function
main() (in module pyb)
makefile() (usocket.socket method)
map()
built-in function
mapper() (pyb.Pin class method)
mark_app_valid_cancel_rollback() (esp32.Partition class method)
match() (in module ure)
(ure.regex method)
math
module
max()
built-in function
maxsize (in module usys)
MCU
mem_alloc() (in module gc)
mem_free() (in module gc)
mem_info() (in module micropython)
mem_read() (pyb.I2C method)
mem_write() (pyb.I2C method)
MemoryError
memoryview (built-in class)
MICROPYINSPECT
micropython
module
MicroPython port
MicroPython Unix port
micropython-lib
micros() (in module pyb)
millis() (in module pyb)
min()
built-in function
mkdir() (in module uos)
mkfs()
built-in function
mkfs() (uos.VfsFat static method)
(uos.VfsLfs1 static method)
(uos.VfsLfs2 static method)
mktime() (in module utime)
mode() (machine.Pin method)
(network.WLANWiPy method)
(pyb.Pin method)
modf() (in module math)
modify() (uselect.poll method)
module
_thread
btree
cmath
esp
esp32
framebuf
gc
lcd160cr
machine
math
micropython
network
pyb
rp2
uarray
uasyncio
ubinascii
ubluetooth
ucollections
ucryptolib
uctypes
uerrno
uhashlib
uheapq
uio
ujson
uos
ure
uselect
usocket
ussl
ustruct
usys
utime
uzlib
wipy
modules (in module usys)
mount()
built-in function
mount() (in module pyb)
(in module uos)
N
name() (pyb.Pin method)
(pyb.pinaf method)
namedtuple() (in module ucollections)
NameError
names() (pyb.Pin method)
native
NATIVE (in module uctypes)
network
module
network.Server (built-in class)
new_event_loop() (in module uasyncio)
next()
built-in function
noise() (pyb.DAC method)
NotImplementedError
now() (machine.RTC method)
NVS (class in esp32)
O
object (built-in class)
oct()
built-in function
off() (machine.Pin method)
(machine.Signal method)
(pyb.LED method)
on() (machine.Pin method)
(machine.Signal method)
(pyb.LED method)
open()
built-in function
open() (in module btree)
(in module uio)
open_connection() (in module uasyncio)
opt_level() (in module micropython)
ord()
built-in function
OrderedDict() (in module ucollections)
OSError
P
pack() (in module ustruct)
pack_into() (in module ustruct)
Partition (class in esp32)
Partition.BOOT (in module esp32)
Partition.RUNNING (in module esp32)
Partition.TYPE_APP (in module esp32)
Partition.TYPE_DATA (in module esp32)
patch_program() (network.CC3K method)
patch_version() (network.CC3K method)
path (in module usys)
period() (machine.timerchannel method)
(pyb.Timer method)
phase() (in module cmath)
phy_mode() (in module network)
pi (in module cmath)
(in module math)
Pin (class in machine)
pin() (pyb.Pin method)
Pin.AF_OD (in module pyb)
Pin.AF_PP (in module pyb)
Pin.ALT (in module machine)
Pin.ALT_OPEN_DRAIN (in module machine)
Pin.ANALOG (in module pyb)
Pin.HIGH_POWER (in module machine)
Pin.IN (in module machine)
(in module pyb)
Pin.IRQ_FALLING (in module machine)
Pin.IRQ_HIGH_LEVEL (in module machine)
Pin.IRQ_LOW_LEVEL (in module machine)
Pin.IRQ_RISING (in module machine)
Pin.LOW_POWER (in module machine)
Pin.MED_POWER (in module machine)
Pin.OPEN_DRAIN (in module machine)
Pin.OUT (in module machine)
Pin.OUT_OD (in module pyb)
Pin.OUT_PP (in module pyb)
Pin.PULL_DOWN (in module machine)
(in module pyb)
Pin.PULL_HOLD (in module machine)
Pin.PULL_NONE (in module pyb)
Pin.PULL_UP (in module machine)
(in module pyb)
PIO (class in rp2)
PIO.IN_HIGH (in module rp2)
PIO.IN_LOW (in module rp2)
PIO.IRQ_SM0 (in module rp2)
PIO.IRQ_SM1 (in module rp2)
PIO.IRQ_SM2 (in module rp2)
PIO.IRQ_SM3 (in module rp2)
PIO.JOIN_NONE (in module rp2)
PIO.JOIN_RX (in module rp2)
PIO.JOIN_TX (in module rp2)
PIO.OUT_HIGH (in module rp2)
PIO.OUT_LOW (in module rp2)
PIO.SHIFT_LEFT (in module rp2)
PIO.SHIFT_RIGHT (in module rp2)
PIOASMError (class in rp2)
pixel() (framebuf.FrameBuffer method)
(pyb.LCD method)
platform (in module usys)
polar() (in module cmath)
poll() (in module uselect)
(uselect.poll method)
poly_dot() (lcd160cr.LCD160CR method)
poly_line() (lcd160cr.LCD160CR method)
popleft() (ucollections.deque method)
port
port() (pyb.Pin method)
pow()
built-in function
pow() (in module math)
prescaler() (pyb.Timer method)
print()
built-in function
print_exception() (in module usys)
property()
built-in function
PTR (in module uctypes)
pull() (machine.Pin method)
(pyb.Pin method)
pulse_width() (pyb.Servo method)
(pyb.timerchannel method)
pulse_width_percent() (pyb.timerchannel method)
put() (rp2.StateMachine method)
PWM (class in machine)
pyb
module
pyb.Accel (class in pyb)
pyb.ADC (class in pyb)
pyb.CAN (class in pyb)
pyb.DAC (class in pyb)
pyb.ExtInt (class in pyb)
pyb.Flash (class in pyb)
pyb.I2C (class in pyb)
pyb.LCD (class in pyb)
pyb.LED (class in pyb)
pyb.Pin (class in pyb)
pyb.RTC (class in pyb)
pyb.Servo (class in pyb)
pyb.SPI (class in pyb)
pyb.Switch (class in pyb)
pyb.Timer (class in pyb)
pyb.UART (class in pyb)
pyb.USB_HID (class in pyb)
pyb.USB_VCP (class in pyb)
Q
qstr_info() (in module micropython)
R
radians() (in module math)
range()
built-in function
raw_temperature() (in module esp32)
read() (machine.SPI method)
(machine.UART method)
(pyb.ADC method)
(pyb.UART method)
(pyb.USB_VCP method)
(uasyncio.Stream method)
(usocket.socket method)
read_timed() (pyb.ADC method)
read_timed_multi() (pyb.ADC method)
read_u16() (machine.ADC method)
readblocks() (esp32.Partition method)
(pyb.Flash method)
(rp2.Flash method)
(uos.AbstractBlockDev method)
readchar() (pyb.UART method)
readfrom() (machine.I2C method)
readfrom_into() (machine.I2C method)
readfrom_mem() (machine.I2C method)
readfrom_mem_into() (machine.I2C method)
readinto() (machine.I2C method)
(machine.SPI method)
(machine.UART method)
(pyb.UART method)
(pyb.USB_VCP method)
(uasyncio.Stream method)
(usocket.socket method)
readline() (machine.UART method)
(pyb.UART method)
(pyb.USB_VCP method)
(uasyncio.Stream method)
(usocket.socket method)
readlines() (pyb.USB_VCP method)
rect() (framebuf.FrameBuffer method)
(in module cmath)
(lcd160cr.LCD160CR method)
rect_interior() (lcd160cr.LCD160CR method)
rect_interior_no_clip() (lcd160cr.LCD160CR method)
rect_no_clip() (lcd160cr.LCD160CR method)
rect_outline() (lcd160cr.LCD160CR method)
rect_outline_no_clip() (lcd160cr.LCD160CR method)
recv() (pyb.CAN method)
(pyb.I2C method)
(pyb.SPI method)
(pyb.USB_HID method)
(pyb.USB_VCP method)
(usocket.socket method)
recvfrom() (usocket.socket method)
reg() (pyb.pinaf method)
register() (uselect.poll method)
regs() (network.WIZNET5K method)
(pyb.ExtInt class method)
release() (uasyncio.Lock method)
remove() (in module uos)
remove_program() (rp2.PIO method)
rename() (in module uos)
REPL
repl_uart() (in module pyb)
repr()
built-in function
reset() (in module machine)
(lcd160cr.LCD160CR method)
reset_cause() (in module machine)
restart() (pyb.CAN method)
(rp2.StateMachine method)
reversed()
built-in function
rgb() (lcd160cr.LCD160CR static method)
rmdir() (in module uos)
RMT (class in esp32)
rng() (in module machine)
(in module pyb)
round()
built-in function
rp2
module
RTC (class in machine)
RTC.ALARM0 (in module machine)
run() (esp32.ULP method)
(in module uasyncio)
run_forever() (uasyncio.Loop method)
run_until_complete() (uasyncio.Loop method)
RuntimeError
rx_fifo() (rp2.StateMachine method)
rxcallback() (pyb.CAN method)
S
save_to_flash() (lcd160cr.LCD160CR method)
scan() (machine.I2C method)
(network.AbstractNIC method)
(network.WLAN method)
(network.WLANWiPy method)
(pyb.I2C method)
schedule() (in module micropython)
screen_dump() (lcd160cr.LCD160CR method)
screen_load() (lcd160cr.LCD160CR method)
scroll() (framebuf.FrameBuffer method)
SD (class in machine)
SDCard (class in machine)
search() (in module ure)
(ure.regex method)
select() (in module uselect)
send() (pyb.CAN method)
(pyb.I2C method)
(pyb.SPI method)
(pyb.USB_HID method)
(pyb.USB_VCP method)
(usocket.socket method)
send_recv() (pyb.SPI method)
sendall() (usocket.socket method)
sendbreak() (machine.UART method)
(pyb.UART method)
sendto() (usocket.socket method)
Server (class in uasyncio)
set (built-in class)
set() (uasyncio.Event method)
(uasyncio.ThreadSafeFlag method)
set_blob() (esp32.NVS method)
set_boot() (esp32.Partition method)
set_brightness() (lcd160cr.LCD160CR method)
set_exception_handler() (uasyncio.Loop method)
set_font() (lcd160cr.LCD160CR method)
set_i2c_addr() (lcd160cr.LCD160CR method)
set_i32() (esp32.NVS method)
set_native_code_location() (in module esp)
set_orient() (lcd160cr.LCD160CR method)
set_pen() (lcd160cr.LCD160CR method)
set_pixel() (lcd160cr.LCD160CR method)
set_pos() (lcd160cr.LCD160CR method)
set_power() (lcd160cr.LCD160CR method)
set_scroll() (lcd160cr.LCD160CR method)
set_scroll_buf() (lcd160cr.LCD160CR method)
set_scroll_win() (lcd160cr.LCD160CR method)
set_scroll_win_param() (lcd160cr.LCD160CR method)
set_spi_win() (lcd160cr.LCD160CR method)
set_startup_deco() (lcd160cr.LCD160CR method)
set_text_color() (lcd160cr.LCD160CR method)
set_uart_baudrate() (lcd160cr.LCD160CR method)
set_wakeup_period() (esp32.ULP method)
setattr()
built-in function
setblocking() (usocket.socket method)
setfilter() (pyb.CAN method)
setinterrupt() (pyb.USB_VCP method)
setsockopt() (usocket.socket method)
settimeout() (usocket.socket method)
show() (pyb.LCD method)
show_framebuf() (lcd160cr.LCD160CR method)
Signal (class in machine)
sin() (in module cmath)
(in module math)
sinh() (in module math)
sizeof() (in module uctypes)
sleep() (in module machine)
(in module uasyncio)
(in module utime)
sleep_ms() (in module uasyncio)
(in module utime)
sleep_type() (in module esp)
sleep_us() (in module utime)
slice (built-in class)
SOCK_DGRAM (in module usocket)
SOCK_STREAM (in module usocket)
socket() (in module usocket)
soft_reset() (in module machine)
SoftI2C (class in machine)
SoftSPI (class in machine)
sorted()
built-in function
source_freq() (esp32.RMT method)
(pyb.Timer method)
span() (ure.match method)
speed() (pyb.Servo method)
SPI (class in machine)
SPI.LSB (in module machine)
(in module pyb)
SPI.MASTER (in module machine)
(in module pyb)
SPI.MSB (in module machine)
(in module pyb)
SPI.SLAVE (in module pyb)
split() (ure.regex method)
sqrt() (in module cmath)
(in module math)
ssid() (network.WLANWiPy method)
ssl.SSLError (in module ussl)
stack_use() (in module micropython)
standby() (in module pyb)
start() (machine.I2C method)
(ure.match method)
start_server() (in module uasyncio)
stat() (in module uos)
state() (pyb.CAN method)
state_machine() (rp2.PIO method)
StateMachine (class in rp2)
staticmethod()
built-in function
status() (network.AbstractNIC method)
(network.WLAN method)
statvfs() (in module uos)
stderr (in module usys)
stdin (in module usys)
stdout (in module usys)
stop() (in module pyb)
(machine.I2C method)
(uasyncio.Loop method)
StopIteration
str (built-in class)
stream
Stream (class in uasyncio)
StringIO (class in uio)
struct (class in uctypes)
sub() (in module ure)
(ure.regex method)
sum()
built-in function
super()
built-in function
swint() (pyb.ExtInt method)
sync() (in module pyb)
(in module uos)
SyntaxError
SystemExit
T
tan() (in module math)
tanh() (in module math)
Task (class in uasyncio)
text() (framebuf.FrameBuffer method)
(pyb.LCD method)
TextIOWrapper (class in uio)
ThreadSafeFlag (class in uasyncio)
threshold() (in module gc)
ticks_add() (in module utime)
ticks_cpu() (in module utime)
ticks_diff() (in module utime)
ticks_ms() (in module utime)
ticks_us() (in module utime)
tilt() (pyb.Accel method)
time() (in module utime)
time_ns() (in module utime)
time_pulse_us() (in module machine)
timeout() (server method)
Timer (class in machine)
Timer.A (built-in variable)
Timer.B (built-in variable)
Timer.MATCH (built-in variable)
Timer.NEGATIVE (built-in variable)
Timer.ONE_SHOT (in module machine)
Timer.PERIODIC (in module machine)
Timer.POSITIVE (built-in variable)
Timer.PWM (built-in variable)
Timer.TIMEOUT (built-in variable)
TimerWiPy (class in machine)
TimerWiPy.ONE_SHOT (in module machine)
TimerWiPy.PERIODIC (in module machine)
to_bytes() (int method)
toggle() (pyb.LED method)
touch_config() (lcd160cr.LCD160CR method)
triangle() (pyb.DAC method)
trunc() (in module math)
tuple (built-in class)
tx_fifo() (rp2.StateMachine method)
type()
built-in function
TypeError
U
uarray
module
UART
(class in machine)
UART.CTS (in module pyb)
UART.RTS (in module pyb)
UART.RX_ANY (in module machine)
uasyncio
module
ubinascii
module
ubluetooth
module
ucollections
module
ucryptolib
module
uctypes
module
udelay() (in module pyb)
uerrno
module
uhashlib
module
uhashlib.md5 (class in uhashlib)
uhashlib.sha1 (class in uhashlib)
uhashlib.sha256 (class in uhashlib)
uheapq
module
UINT16 (in module uctypes)
UINT32 (in module uctypes)
UINT64 (in module uctypes)
UINT8 (in module uctypes)
uio
module
ujson
module
ULP (class in esp32)
umount() (in module uos)
uname() (in module uos)
unhexlify() (in module ubinascii)
unique_id() (in module machine)
(in module pyb)
unmount()
built-in function
unpack() (in module ustruct)
unpack_from() (in module ustruct)
unregister() (uselect.poll method)
uos
module
update() (uhashlib.hash method)
upip
urandom() (in module uos)
ure
module
usb_mode() (in module pyb)
USB_VCP.CTS (in module pyb)
USB_VCP.IRQ_RX (in module pyb)
USB_VCP.RTS (in module pyb)
uselect
module
usocket
module
usocket.error
ussl
module
ussl.CERT_NONE (in module ussl)
ussl.CERT_OPTIONAL (in module ussl)
ussl.CERT_REQUIRED (in module ussl)
ussl.wrap_socket() (in module ussl)
ustruct
module
usys
module
utime
module
UUID (class in ubluetooth)
uzlib
module
V
value() (machine.adcchannel method)
(machine.Pin method)
(machine.Signal method)
(pyb.Pin method)
(pyb.Switch method)
ValueError
values() (btree.btree method)
version (in module usys)
version_info (in module usys)
VfsFat (class in uos)
VfsLfs1 (class in uos)
VfsLfs2 (class in uos)
vline() (framebuf.FrameBuffer method)
VOID (in module uctypes)
W
wait() (uasyncio.Event method)
(uasyncio.ThreadSafeFlag method)
wait_closed() (uasyncio.Server method)
(uasyncio.Stream method)
wait_done() (esp32.RMT method)
wait_for() (in module uasyncio)
wait_for_ms() (in module uasyncio)
wake_on_ext0() (in module esp32)
wake_on_ext1() (in module esp32)
wake_on_touch() (in module esp32)
wake_reason() (in module machine)
wakeup() (pyb.RTC method)
WDT (class in machine)
wfi() (in module pyb)
width() (ADC method)
wipy
module
WIZNET5K (class in network)
WLAN (class in network)
WLANWiPy (class in network)
WLANWiPy.AP (in module network)
WLANWiPy.EXT_ANT (in module network)
WLANWiPy.INT_ANT (in module network)
WLANWiPy.STA (in module network)
WLANWiPy.WEP (in module network)
WLANWiPy.WPA (in module network)
WLANWiPy.WPA2 (in module network)
write() (lcd160cr.LCD160CR method)
(machine.I2C method)
(machine.SPI method)
(machine.UART method)
(pyb.DAC method)
(pyb.LCD method)
(pyb.UART method)
(pyb.USB_VCP method)
(uasyncio.Stream method)
(usocket.socket method)
write_pulses() (esp32.RMT method)
write_readinto() (machine.SPI method)
write_timed() (pyb.DAC method)
writeblocks() (esp32.Partition method)
(pyb.Flash method)
(rp2.Flash method)
(uos.AbstractBlockDev method)
writechar() (pyb.UART method)
writeto() (machine.I2C method)
writeto_mem() (machine.I2C method)
writevto() (machine.I2C method)
X
x() (pyb.Accel method)
Y
y() (pyb.Accel method)
Z
z() (pyb.Accel method)
ZeroDivisionError
zip()
built-in function
Versions and Downloads
v1.16
Versions
v1.4.4
v1.4.5
v1.4.6
v1.5
v1.5.1
v1.5.2
v1.6
v1.7
v1.8
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.8.6
v1.8.7
v1.9
v1.9.1
v1.9.2
v1.9.3
v1.9.4
v1.10
v1.11
v1.12
v1.13
v1.14
v1.15
v1.16
latest
Downloads
PDF
External links
micropython.org
GitHub