MicroPython
1.17
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
Quick reference for the Zephyr port
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)
(neopixel.NeoPixel method)
__init__() (cryptolib.aes class method)
__iter__() (btree.btree method)
__len__() (neopixel.NeoPixel method)
__setitem__() (btree.btree method)
(neopixel.NeoPixel method)
__str__() (pyb.Pin method)
(pyb.pinaf method)
_thread
module
A
a2b_base64() (in module binascii)
abs()
built-in function
AbstractBlockDev (class in os)
AbstractNIC (class in network)
ACCEL_X (in module zsensor)
ACCEL_Y (in module zsensor)
ACCEL_Z (in module zsensor)
accept() (socket.socket method)
acos() (in module math)
acosh() (in module math)
acquire() (uasyncio.Lock method)
active() (bluetooth.BLE method)
(network.AbstractNIC method)
(network.WLAN method)
(rp2.StateMachine 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 cryptolib)
af() (pyb.Pin method)
AF_INET (in module socket)
AF_INET6 (in module socket)
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)
ALTITUDE (in module zsensor)
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() (array.array method)
(collections.deque method)
argv (in module sys)
array
module
array (class in array)
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 sys)
atten() (ADC method)
AttributeError
auth() (network.WLANWiPy method)
B
b2a_base64() (in module binascii)
baremetal
BIG_ENDIAN (in module uctypes)
bin()
built-in function
binascii
module
bind() (socket.socket method)
bitstream() (in module machine)
BLE (class in bluetooth)
blit() (framebuf.FrameBuffer method)
bluetooth
module
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 sys)
bytes (built-in class)
bytes_at() (in module uctypes)
BytesIO (class in io)
C
calcsize() (in module struct)
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 os)
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)
(socket.socket method)
(uasyncio.Loop method)
(uasyncio.Server method)
(uasyncio.Stream method)
cmath
module
collect() (in module gc)
collections
module
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 re)
complex (built-in class)
config() (bluetooth.BLE method)
(network.AbstractNIC method)
(network.WLAN method)
connect() (network.AbstractNIC method)
(network.CC3K method)
(network.WLAN method)
(network.WLANWiPy method)
(socket.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
cryptolib
module
current_task() (in module uasyncio)
current_tid() (in module zephyr)
D
datetime() (machine.RTC method)
(pyb.RTC method)
DEBUG (in module re)
debug() (pyb.Pin class method)
DecompIO (class in zlib)
decompress() (in module zlib)
decrypt() (cryptolib.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.I2S 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 collections)
DESC (in module btree)
dict (built-in class)
dict() (pyb.Pin class method)
DIE_TEMP (in module zsensor)
digest() (hashlib.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)
DiskAccess (class in zephyr)
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 json)
dumps() (in module json)
dupterm() (in module os)
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() (cryptolib.aes method)
end() (re.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)
errno
module
errorcode (in module errno)
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 sys)
exp() (in module cmath)
(in module math)
expm1() (in module math)
extend() (array.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 io)
filesystem
fill() (framebuf.FrameBuffer method)
(neopixel.NeoPixel 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)
FlashArea (class in zephyr)
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() (bluetooth.BLE method)
gap_connect() (bluetooth.BLE method)
gap_disconnect() (bluetooth.BLE method)
gap_pair() (bluetooth.BLE method)
gap_passkey() (bluetooth.BLE method)
gap_scan() (bluetooth.BLE method)
Garbage Collector
gather() (in module uasyncio)
gattc_discover_characteristics() (bluetooth.BLE method)
gattc_discover_descriptors() (bluetooth.BLE method)
gattc_discover_services() (bluetooth.BLE method)
gattc_exchange_mtu() (bluetooth.BLE method)
gattc_read() (bluetooth.BLE method)
gattc_write() (bluetooth.BLE method)
gatts_indicate() (bluetooth.BLE method)
gatts_notify() (bluetooth.BLE method)
gatts_read() (bluetooth.BLE method)
gatts_register_services() (bluetooth.BLE method)
gatts_set_buffer() (bluetooth.BLE method)
gatts_write() (bluetooth.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_float() (zsensor.Sensor method)
get_i32() (esp32.NVS method)
get_int() (zsensor.Sensor method)
get_line() (lcd160cr.LCD160CR method)
get_micros() (zsensor.Sensor method)
get_millis() (zsensor.Sensor method)
get_next_update() (esp32.Partition method)
get_pixel() (lcd160cr.LCD160CR method)
get_touch() (lcd160cr.LCD160CR method)
getaddrinfo() (in module socket)
getattr()
built-in function
getcwd() (in module os)
getvalue() (io.BytesIO method)
globals()
built-in function
gmtime() (in module time)
GPIO
GPIO port
gpio() (pyb.Pin method)
group() (re.match method)
groups() (re.match method)
GYRO_X (in module zsensor)
GYRO_Y (in module zsensor)
GYRO_Z (in module zsensor)
H
hall_sensor() (in module esp32)
hard_reset() (in module pyb)
hasattr()
built-in function
hash()
built-in function
hashlib
module
hashlib.md5 (class in hashlib)
hashlib.sha1 (class in hashlib)
hashlib.sha256 (class in hashlib)
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 heapq)
heappop() (in module heapq)
heappush() (in module heapq)
heapq
module
heartbeat() (in module wipy)
hex()
built-in function
hexdigest() (hashlib.hash method)
hexlify() (in module binascii)
hid() (in module pyb)
high() (machine.Pin method)
hline() (framebuf.FrameBuffer method)
HUMIDITY (in module zsensor)
I
I2C (class in machine)
I2C.CONTROLLER (in module pyb)
I2C.PERIPHERAL (in module pyb)
I2S (class in machine)
I2S.MONO (in module machine)
I2S.RX (in module machine)
I2S.STEREO (in module machine)
I2S.TX (in module machine)
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 os)
implementation (in module sys)
ImportError
INCL (in module btree)
index() (pyb.pinaf method)
IndexError
inet_ntop() (in module socket)
inet_pton() (in module socket)
info() (esp32.Partition method)
(in module pyb)
(pyb.CAN method)
(pyb.RTC method)
init() (machine.adcchannel method)
(machine.ADCWiPy method)
(machine.I2C method)
(machine.I2S 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
io
module
ioctl() (esp32.Partition method)
(os.AbstractBlockDev method)
(pyb.Flash method)
(rp2.Flash method)
(zephyr.DiskAccess method)
(zephyr.FlashArea method)
ipoll() (select.poll method)
IPPROTO_SEC (in module socket)
IPPROTO_TCP (in module socket)
IPPROTO_UDP (in module socket)
irq() (bluetooth.BLE method)
(machine.I2S method)
(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)
is_preempt_thread() (in module zephyr)
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)
json
module
K
kbd_intr() (in module micropython)
KeyboardInterrupt
KeyError
keys() (btree.btree method)
L
l2cap_connect() (bluetooth.BLE method)
l2cap_disconnect() (bluetooth.BLE method)
l2cap_listen() (bluetooth.BLE method)
l2cap_recvinto() (bluetooth.BLE method)
l2cap_send() (bluetooth.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 (in module zsensor)
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 os)
listen() (socket.socket method)
LITTLE_ENDIAN (in module uctypes)
load() (in module json)
load_binary() (esp32.ULP method)
loads() (in module json)
locals()
built-in function
localtime() (in module time)
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)
MAGN_X (in module zsensor)
MAGN_Y (in module zsensor)
MAGN_Z (in module zsensor)
main()
built-in function
main() (in module pyb)
makefile() (socket.socket method)
map()
built-in function
mapper() (pyb.Pin class method)
mark_app_valid_cancel_rollback() (esp32.Partition class method)
match() (in module re)
(re.regex method)
math
module
max()
built-in function
maxsize (in module sys)
MCU
measure() (zsensor.Sensor method)
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 os)
mkfs()
built-in function
mkfs() (os.VfsFat static method)
(os.VfsLfs1 static method)
(os.VfsLfs2 static method)
mktime() (in module time)
mode() (machine.Pin method)
(network.WLANWiPy method)
(pyb.Pin method)
modf() (in module math)
modify() (select.poll method)
module
_thread
array
binascii
bluetooth
btree
cmath
collections
cryptolib
errno
esp
esp32
framebuf
gc
hashlib
heapq
io
json
lcd160cr
machine
math
micropython
neopixel
network
os
pyb
re
rp2
select
socket
ssl
struct
sys
time
uasyncio
uctypes
wipy
zephyr
zlib
zsensor
modules (in module sys)
mount()
built-in function
mount() (in module os)
(in module pyb)
N
name() (pyb.Pin method)
(pyb.pinaf method)
namedtuple() (in module collections)
NameError
names() (pyb.Pin method)
native
NATIVE (in module uctypes)
neopixel
module
NeoPixel (class in neopixel)
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 io)
open_connection() (in module uasyncio)
opt_level() (in module micropython)
ord()
built-in function
OrderedDict() (in module collections)
os
module
OSError
P
pack() (in module struct)
pack_into() (in module struct)
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 sys)
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 sys)
polar() (in module cmath)
poll() (in module select)
(select.poll method)
poly_dot() (lcd160cr.LCD160CR method)
poly_line() (lcd160cr.LCD160CR method)
popleft() (collections.deque method)
port
port() (pyb.Pin method)
pow()
built-in function
pow() (in module math)
prescaler() (pyb.Timer method)
PRESS (in module zsensor)
print()
built-in function
print_exception() (in module sys)
property()
built-in function
PROX (in module zsensor)
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)
re
module
read() (machine.SPI method)
(machine.UART method)
(pyb.ADC method)
(pyb.UART method)
(pyb.USB_VCP method)
(socket.socket method)
(uasyncio.Stream method)
read_timed() (pyb.ADC method)
read_timed_multi() (pyb.ADC method)
read_u16() (machine.ADC method)
readblocks() (esp32.Partition method)
(os.AbstractBlockDev method)
(pyb.Flash method)
(rp2.Flash method)
(zephyr.DiskAccess method)
(zephyr.FlashArea method)
readchar() (pyb.UART method)
readexactly() (uasyncio.Stream 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.I2S method)
(machine.SPI method)
(machine.UART method)
(pyb.UART method)
(pyb.USB_VCP method)
(socket.socket method)
(uasyncio.Stream method)
readline() (machine.UART method)
(pyb.UART method)
(pyb.USB_VCP method)
(socket.socket method)
(uasyncio.Stream 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)
(socket.socket method)
recvfrom() (socket.socket method)
reg() (pyb.pinaf method)
register() (select.poll method)
regs() (network.WIZNET5K method)
(pyb.ExtInt class method)
release() (uasyncio.Lock method)
remove() (in module os)
remove_program() (rp2.PIO method)
rename() (in module os)
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 os)
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 re)
(re.regex method)
select
module
select() (in module select)
send() (pyb.CAN method)
(pyb.I2C method)
(pyb.SPI method)
(pyb.USB_HID method)
(pyb.USB_VCP method)
(socket.socket method)
send_recv() (pyb.SPI method)
sendall() (socket.socket method)
sendbreak() (machine.UART method)
(pyb.UART method)
sendto() (socket.socket method)
Sensor (class in zsensor)
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() (socket.socket method)
setfilter() (pyb.CAN method)
setinterrupt() (pyb.USB_VCP method)
setsockopt() (socket.socket method)
settimeout() (socket.socket method)
shell_exec() (in module zephyr)
shift() (machine.I2S static 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 time)
(in module uasyncio)
sleep_ms() (in module time)
(in module uasyncio)
sleep_type() (in module esp)
sleep_us() (in module time)
slice (built-in class)
SOCK_DGRAM (in module socket)
SOCK_STREAM (in module socket)
socket
module
socket() (in module socket)
socket.error
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() (re.match method)
speed() (pyb.Servo method)
SPI (class in machine)
SPI.CONTROLLER (in module machine)
(in module pyb)
SPI.LSB (in module machine)
(in module pyb)
SPI.MSB (in module machine)
(in module pyb)
SPI.PERIPHERAL (in module pyb)
split() (re.regex method)
sqrt() (in module cmath)
(in module math)
ssid() (network.WLANWiPy method)
ssl
module
ssl.CERT_NONE (in module ssl)
ssl.CERT_OPTIONAL (in module ssl)
ssl.CERT_REQUIRED (in module ssl)
ssl.SSLError (in module ssl)
ssl.wrap_socket() (in module ssl)
stack_use() (in module micropython)
standby() (in module pyb)
start() (machine.I2C method)
(re.match method)
start_server() (in module uasyncio)
stat() (in module os)
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 os)
stderr (in module sys)
stdin (in module sys)
stdout (in module sys)
stop() (in module pyb)
(machine.I2C method)
(uasyncio.Loop method)
StopIteration
str (built-in class)
stream
Stream (class in uasyncio)
StringIO (class in io)
struct
module
struct (class in uctypes)
sub() (in module re)
(re.regex method)
sum()
built-in function
super()
built-in function
swint() (pyb.ExtInt method)
sync() (in module os)
(in module pyb)
SyntaxError
sys
module
SystemExit
T
tan() (in module math)
tanh() (in module math)
Task (class in uasyncio)
text() (framebuf.FrameBuffer method)
(pyb.LCD method)
TextIOWrapper (class in io)
thread_analyze() (in module zephyr)
ThreadSafeFlag (class in uasyncio)
threshold() (in module gc)
ticks_add() (in module time)
ticks_cpu() (in module time)
ticks_diff() (in module time)
ticks_ms() (in module time)
ticks_us() (in module time)
tilt() (pyb.Accel method)
time
module
time() (in module time)
time_ns() (in module time)
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
UART
(class in machine)
UART.CTS (in module pyb)
UART.RTS (in module pyb)
UART.RX_ANY (in module machine)
uasyncio
module
uctypes
module
udelay() (in module pyb)
UINT16 (in module uctypes)
UINT32 (in module uctypes)
UINT64 (in module uctypes)
UINT8 (in module uctypes)
ULP (class in esp32)
umount() (in module os)
uname() (in module os)
unhexlify() (in module binascii)
unique_id() (in module machine)
(in module pyb)
unmount()
built-in function
unpack() (in module struct)
unpack_from() (in module struct)
unregister() (select.poll method)
update() (hashlib.hash method)
upip
urandom() (in module os)
usb_mode() (in module pyb)
USB_VCP.CTS (in module pyb)
USB_VCP.IRQ_RX (in module pyb)
USB_VCP.RTS (in module pyb)
UUID (class in bluetooth)
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 sys)
version_info (in module sys)
VfsFat (class in os)
VfsLfs1 (class in os)
VfsLfs2 (class in os)
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.I2S method)
(machine.SPI method)
(machine.UART method)
(neopixel.NeoPixel method)
(pyb.DAC method)
(pyb.LCD method)
(pyb.UART method)
(pyb.USB_VCP method)
(socket.socket method)
(uasyncio.Stream method)
write_pulses() (esp32.RMT method)
write_readinto() (machine.SPI method)
write_timed() (pyb.DAC method)
writeblocks() (esp32.Partition method)
(os.AbstractBlockDev method)
(pyb.Flash method)
(rp2.Flash method)
(zephyr.DiskAccess method)
(zephyr.FlashArea 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)
zephyr
module
ZeroDivisionError
zip()
built-in function
zlib
module
zsensor
module
Versions and Downloads
v1.17
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
v1.17
latest
Downloads
PDF
External links
micropython.org
GitHub