MicroPython
1.9.3
Quick reference for the ESP8266
General information about the ESP8266 port
MicroPython tutorial for ESP8266
MicroPython libraries
The MicroPython language
MicroPython differences from CPython
MicroPython license information
MicroPython
Docs
»
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
Z
_
__call__() (machine.Pin method)
__contains__() (btree.btree method)
__detitem__() (btree.btree method)
__getitem__() (btree.btree method)
__iter__() (btree.btree method)
__setitem__() (btree.btree method)
A
a2b_base64() (in module ubinascii)
abs() (built-in function)
AbstractNIC (class in network)
accept() (usocket.socket method)
acos() (in module math)
acosh() (in module math)
active() (in module network)
(network.wlan method)
ADC (class in machine)
adcchannel() (in module machine)
addressof() (in module uctypes)
AF_INET (in module usocket)
AF_INET6 (in module usocket)
alarm() (machine.RTC method)
alarm_left() (machine.RTC method)
all() (built-in function)
alloc_emergency_exception_buf() (in module micropython)
any() (built-in function)
(machine.UART method)
append() (array.array.array method)
argv (in module sys)
array (module)
array.array (class in array)
asin() (in module math)
asinh() (in module math)
AssertionError
atan() (in module math)
atan2() (in module math)
atanh() (in module math)
AttributeError
B
b2a_base64() (in module ubinascii)
baremetal
BIG_ENDIAN (in module uctypes)
bin() (built-in function)
bind() (usocket.socket method)
blit() (framebuf.FrameBuffer method)
board
bool (built-in class)
btree (module)
bytearray (built-in class)
bytearray_at() (in module uctypes)
byteorder (in module sys)
bytes (built-in class)
bytes_at() (in module uctypes)
BytesIO (class in uio)
C
calcsize() (in module ustruct)
callable() (built-in function)
cancel() (machine.RTC method)
ceil() (in module math)
channel() (machine.ADC method)
chdir() (in module uos)
chr() (built-in function)
classmethod() (built-in function)
close() (btree.btree method)
(usocket.socket method)
collect() (in module gc)
compile() (built-in function)
(in module ure)
complex (built-in class)
config() (in module network)
(network.wlan method)
,
[1]
connect() (in module network)
(network.wlan method)
(usocket.socket method)
const() (in module micropython)
copysign() (in module math)
cos() (in module math)
cosh() (in module math)
CPython
D
DEBUG (in module ure)
DecompIO (class in uzlib)
decompress() (in module uzlib)
deepsleep() (in module esp)
(in module machine)
degrees() (in module math)
deinit() (machine.ADC method)
(machine.I2C method)
(machine.RTC method)
(machine.SD method)
(machine.SPI method)
(machine.Timer method)
(machine.UART method)
(machine.adcchannel method)
delattr() (built-in function)
DESC (in module btree)
dict (built-in class)
digest() (uhashlib.hash method)
dir() (built-in function)
disable() (in module gc)
disable_irq() (in module machine)
disconnect() (in module network)
(network.wlan method)
divmod() (built-in function)
dot() (lcd160cr.LCD160CR method)
dot_no_clip() (lcd160cr.LCD160CR method)
drive() (machine.Pin method)
dumps() (in module ujson)
dupterm() (in module uos)
E
e (in module math)
enable() (in module gc)
enable_irq() (in module machine)
enumerate() (built-in function)
erase() (lcd160cr.LCD160CR method)
erf() (in module math)
erfc() (in module math)
errorcode (in module uerrno)
esp (module)
eval() (built-in function)
Exception
exec() (built-in function)
exit() (in module sys)
exp() (in module math)
expm1() (in module math)
extend() (array.array.array method)
F
fabs() (in module math)
fast_spi() (lcd160cr.LCD160CR method)
feed() (machine.wdt method)
feed_wdt() (lcd160cr.LCD160CR method)
FileIO (class in uio)
fill() (framebuf.FrameBuffer method)
fill_rect() (framebuf.FrameBuffer method)
filter() (built-in function)
flash_erase() (in module esp)
flash_id() (in module esp)
flash_read() (in module esp)
flash_write() (in module esp)
float (built-in class)
floor() (in module math)
flush() (btree.btree method)
fmod() (in module math)
framebuf (module)
framebuf.GS4_HMSB (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)
frexp() (in module math)
from_bytes() (int class method)
frozenset (built-in class)
G
gamma() (in module math)
gc (module)
get() (btree.btree method)
get_line() (lcd160cr.LCD160CR 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)
GPIO
GPIO port
group() (ure.match method)
H
hasattr() (built-in function)
hash() (built-in function)
heap_lock() (in module micropython)
heap_unlock() (in module micropython)
heapify() (in module uheapq)
heappop() (in module uheapq)
heappush() (in module uheapq)
hex() (built-in function)
hexdigest() (uhashlib.hash method)
hexlify() (in module ubinascii)
hline() (framebuf.FrameBuffer method)
I
I2C (class in machine)
id() (built-in function)
idle() (in module machine)
ifconfig() (in module network)
(network.wlan method)
ilistdir() (in module uos)
implementation (in module sys)
ImportError
INCL (in module btree)
IndexError
inet_ntop() (in module usocket)
inet_pton() (in module usocket)
init() (machine.ADC method)
(machine.I2C method)
(machine.Pin method)
(machine.RTC method)
(machine.SD method)
(machine.SPI method)
(machine.adcchannel method)
input() (built-in function)
int (built-in class)
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)
is_touched() (lcd160cr.LCD160CR method)
isconnected() (in module network)
(network.wlan method)
isfinite() (in module math)
isinf() (in module math)
isinstance() (built-in function)
isnan() (in module math)
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
LCD160CR (class in lcd160cr)
lcd160cr (module)
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)
line() (framebuf.FrameBuffer method)
(lcd160cr.LCD160CR method)
line_no_clip() (lcd160cr.LCD160CR method)
list (built-in class)
listdir() (in module uos)
listen() (usocket.socket method)
LITTLE_ENDIAN (in module uctypes)
loads() (in module ujson)
locals() (built-in function)
localtime() (in module utime)
log() (in module math)
log10() (in module math)
log2() (in module math)
M
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)
makefile() (usocket.socket method)
map() (built-in function)
match() (in module ure)
(ure.regex method)
math (module)
max() (built-in function)
maxsize (in module sys)
MCU
mem_alloc() (in module gc)
mem_free() (in module gc)
mem_info() (in module micropython)
MemoryError
memoryview (built-in class)
micropython (module)
MicroPython port
MicroPython Unix port
micropython-lib
min() (built-in function)
mkdir() (in module uos)
mktime() (in module utime)
mode() (machine.Pin method)
modf() (in module math)
modify() (uselect.poll method)
modules (in module sys)
N
namedtuple() (in module ucollections)
NameError
NATIVE (in module uctypes)
network (module)
next() (built-in function)
NotImplementedError
now() (machine.RTC method)
O
object (built-in class)
oct() (built-in function)
off() (machine.Pin method)
(machine.Signal method)
on() (machine.Pin method)
(machine.Signal method)
open() (built-in function)
(in module btree)
(in module uio)
opt_level() (in module micropython)
ord() (built-in function)
OrderedDict() (in module ucollections)
OSError
P
pack() (in module ustruct)
pack_into() (in module ustruct)
path (in module sys)
phy_mode() (in module network)
pi (in module math)
Pin (class in machine)
Pin.ALT (in module machine)
Pin.ALT_OPEN_DRAIN (in module machine)
Pin.HIGH_POWER (in module machine)
Pin.IN (in module machine)
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.PULL_DOWN (in module machine)
Pin.PULL_UP (in module machine)
pixel() (framebuf.FrameBuffer method)
platform (in module sys)
poll() (in module uselect)
(uselect.poll method)
poly_dot() (lcd160cr.LCD160CR method)
poly_line() (lcd160cr.LCD160CR method)
port
pow() (built-in function)
(in module math)
print() (built-in function)
print_exception() (in module sys)
property() (built-in function)
pull() (machine.Pin method)
Q
qstr_info() (in module micropython)
R
radians() (in module math)
range() (built-in function)
read() (machine.SPI method)
(machine.UART method)
(usocket.socket 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)
(usocket.socket method)
readline() (machine.UART method)
(usocket.socket method)
rect() (framebuf.FrameBuffer method)
(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() (usocket.socket method)
recvfrom() (usocket.socket method)
register() (uselect.poll method)
remove() (in module uos)
rename() (in module uos)
repr() (built-in function)
reset() (in module machine)
(lcd160cr.LCD160CR method)
reset_cause() (in module machine)
reversed() (built-in function)
rgb() (lcd160cr.LCD160CR static method)
rmdir() (in module uos)
round() (built-in function)
RTC (class in machine)
RTC.ALARM0 (in module machine)
RuntimeError
S
save_to_flash() (lcd160cr.LCD160CR method)
scan() (in module network)
(machine.I2C method)
(network.wlan method)
schedule() (in module micropython)
screen_dump() (lcd160cr.LCD160CR method)
screen_load() (lcd160cr.LCD160CR method)
scroll() (framebuf.FrameBuffer method)
SD (class in machine)
search() (in module ure)
(ure.regex method)
select() (in module uselect)
send() (usocket.socket method)
sendall() (usocket.socket method)
sendbreak() (machine.UART method)
sendto() (usocket.socket method)
set (built-in class)
set_brightness() (lcd160cr.LCD160CR method)
set_font() (lcd160cr.LCD160CR method)
set_i2c_addr() (lcd160cr.LCD160CR 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)
setattr() (built-in function)
setblocking() (usocket.socket method)
setsockopt() (usocket.socket method)
settimeout() (usocket.socket method)
show_framebuf() (lcd160cr.LCD160CR method)
Signal (class in machine)
sin() (in module math)
sinh() (in module math)
sizeof() (in module uctypes)
sleep() (in module machine)
(in module utime)
sleep_ms() (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)
sorted() (built-in function)
SPI (class in machine)
SPI.LSB (in module machine)
SPI.MASTER (in module machine)
SPI.MSB (in module machine)
split() (ure.regex method)
sqrt() (in module math)
ssl.SSLError (in module ussl)
stack_use() (in module micropython)
start() (machine.I2C method)
stat() (in module uos)
staticmethod() (built-in function)
status() (in module network)
(network.wlan method)
statvfs() (in module uos)
stderr (in module sys)
stdin (in module sys)
stdout (in module sys)
stop() (machine.I2C method)
StopIteration
str (built-in class)
StringIO (class in uio)
struct (class in uctypes)
sum() (built-in function)
super() (built-in function)
sync() (in module uos)
SyntaxError
sys (module)
SystemExit
T
tan() (in module math)
tanh() (in module math)
text() (framebuf.FrameBuffer method)
TextIOWrapper (class in uio)
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)
time() (in module utime)
time_pulse_us() (in module machine)
Timer (class in machine)
Timer.ONE_SHOT (in module machine)
Timer.PERIODIC (in module machine)
to_bytes() (int method)
touch_config() (lcd160cr.LCD160CR method)
trunc() (in module math)
tuple (built-in class)
type() (built-in function)
TypeError
U
UART (class in machine)
ubinascii (module)
ucollections (module)
uctypes (module)
uerrno (module)
uhashlib (module)
uhashlib.md5 (class in uhashlib)
uhashlib.sha1 (class in uhashlib)
uhashlib.sha256 (class in uhashlib)
uheapq (module)
uio (module)
ujson (module)
unhexlify() (in module ubinascii)
unique_id() (in module machine)
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)
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)
utime (module)
uzlib (module)
V
value() (machine.adcchannel method)
(machine.Pin method)
(machine.Signal method)
ValueError
values() (btree.btree method)
version (in module sys)
version_info (in module sys)
vline() (framebuf.FrameBuffer method)
W
WDT (class in machine)
WLAN (class in network)
write() (lcd160cr.LCD160CR method)
(machine.I2C method)
(machine.SPI method)
(machine.UART method)
(usocket.socket method)
write_readinto() (machine.SPI method)
writeto() (machine.I2C method)
writeto_mem() (machine.I2C method)
Z
ZeroDivisionError
zip() (built-in function)
Ports and Versions
esp8266 (v1.9.3)
Ports
unix
pyboard
wipy
esp8266
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
latest
Downloads
PDF
External links
micropython.org
GitHub