MicroPython
1.8
Quick reference for the pyboard
General information about the pyboard
MicroPython tutorial
MicroPython libraries
The pyboard hardware
Datasheets for the components on the pyboard
Datasheets for other components
MicroPython license information
MicroPython documentation contents
MicroPython
Docs
»
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
Y
|
Z
_
__str__() (pin method)
(pinaf method)
A
a2b_base64() (in module ubinascii)
accept() (socket method)
(usocket.socket method)
acos() (in module math)
acosh() (in module math)
active() (network.wlan method)
adcchannel()
addressof() (in module uctypes)
af() (pin method)
af_list() (Pin method)
alarm() (rtc method)
alarm_left() (rtc method)
alloc_emergency_exception_buf() (in module micropython)
ALT (built-in variable)
alt_list() (pin method)
ALT_OPEN_DRAIN (built-in variable)
angle() (servo method)
antenna() (network.wlan method)
any() (can method)
(uart method)
,
[1]
(usb_vcp method)
argv (in module sys)
asin() (in module math)
asinh() (in module math)
atan() (in module math)
atan2() (in module math)
atanh() (in module math)
auth() (network.wlan method)
B
b2a_base64() (in module ubinascii)
BIG_ENDIAN (in module uctypes)
bind() (socket method)
(usocket.socket method)
bootloader() (in module pyb)
bytearray_at() (in module uctypes)
byteorder (in module sys)
bytes_at() (in module uctypes)
BytesIO (class in uio)
C
calcsize() (in module ustruct)
calibration() (rtc method)
(servo method)
callback() (switch method)
(timer method)
(timerchannel method)
CAN.LIST16 (built-in variable)
CAN.LIST32 (built-in variable)
CAN.LOOPBACK (built-in variable)
CAN.MASK16 (built-in variable)
CAN.MASK32 (built-in variable)
CAN.NORMAL (built-in variable)
CAN.SILENT (built-in variable)
CAN.SILENT_LOOPBACK (built-in variable)
cancel() (rtc method)
capture() (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() (adc method)
(network.wlan method)
(timer method)
,
[1]
chdir() (in module uos)
clearfilter() (can method)
close() (socket method)
(usb_vcp method)
(usocket.socket method)
cmath (module)
collect() (in module gc)
command() (lcd method)
compare() (timerchannel method)
compile() (in module ure)
config() (network.wlan method)
,
[1]
connect() (network.cc3k method)
(network.wlan method)
,
[1]
(socket method)
(usocket.socket method)
contrast() (lcd method)
copysign() (in module math)
cos() (in module cmath)
(in module math)
cosh() (in module math)
counter() (timer method)
D
datetime() (rtc method)
DEBUG (in module ure)
debug() (Pin method)
decompress() (in module uzlib)
deepsleep() (in module esp)
(in module machine)
degrees() (in module math)
deinit() (adc method)
(adcchannel method)
(can method)
(i2c method)
,
[1]
(network.server method)
(rtc method)
(sd method)
(spi method)
,
[1]
(timer method)
,
[1]
(uart method)
,
[1]
delay() (in module pyb)
dict() (Pin method)
digest() (uhashlib.hash method)
disable() (extint method)
(in module gc)
disable_irq() (in module machine)
(in module pyb)
disconnect() (network.cc3k method)
(network.wlan method)
,
[1]
drive() (pin method)
dumps() (in module ujson)
dupterm() (in module uos)
duty_cycle() (timerchannel method)
E
e (in module cmath)
(in module math)
elapsed_micros() (in module pyb)
elapsed_millis() (in module pyb)
enable() (extint method)
(in module gc)
enable_irq() (in module machine)
(in module pyb)
erf() (in module math)
erfc() (in module math)
esp (module)
esp.socket (built-in class)
exit() (in module sys)
exp() (in module cmath)
(in module math)
expm1() (in module math)
ExtInt.IRQ_FALLING (built-in variable)
ExtInt.IRQ_RISING (built-in variable)
ExtInt.IRQ_RISING_FALLING (built-in variable)
F
fabs() (in module math)
feed() (wdt method)
FileIO (class in uio)
fill() (lcd method)
filtered_xyz() (accel method)
flash_erase() (in module esp)
flash_id() (in module esp)
flash_read() (in module esp)
flash_write() (in module esp)
floor() (in module math)
fmod() (in module math)
freq() (in module machine)
(in module pyb)
(timer method)
(timerchannel method)
frexp() (in module math)
G
gamma() (in module math)
gc (module)
get() (lcd method)
getcwd() (in module uos)
getvalue() (uio.BytesIO method)
gpio() (pin method)
group() (ure.match method)
H
hard_reset() (in module pyb)
have_cdc() (in module pyb)
heapify() (in module uheapq)
heappop() (in module uheapq)
heappush() (in module uheapq)
heartbeat() (in module wipy)
hexdigest() (uhashlib.hash method)
hexlify() (in module ubinascii)
hid() (in module pyb)
HIGH_POWER (built-in variable)
I
I2C.MASTER (built-in variable)
,
[1]
I2C.SLAVE (built-in variable)
id() (pin method)
idle() (in module machine)
ifconfig() (network.cc3k method)
(network.wiznet5k method)
(network.wlan method)
,
[1]
implementation (in module sys)
IN (built-in variable)
index() (pinaf method)
info() (in module pyb)
(rtc method)
init() (adc method)
(adcchannel method)
(can method)
(dac method)
(i2c method)
,
[1]
,
[2]
(network.server method)
(network.wlan method)
(pin method)
,
[1]
,
[2]
(rtc method)
(sd method)
(spi method)
,
[1]
(timer method)
,
[1]
(uart method)
,
[1]
initfilterbanks() (CAN method)
intensity() (led method)
irq() (network.wlan method)
(pin method)
,
[1]
(rtc method)
(timerchannel method)
(uart method)
IRQ_FALLING (built-in variable)
IRQ_HIGH_LEVEL (built-in variable)
IRQ_LOW_LEVEL (built-in variable)
IRQ_RISING (built-in variable)
is_ready() (i2c method)
isconnected() (network.cc3k method)
(network.wlan method)
,
[1]
(usb_vcp method)
isfinite() (in module math)
isinf() (in module math)
isnan() (in module math)
isrunning() (network.server method)
L
ldexp() (in module math)
lgamma() (in module math)
light() (lcd method)
line() (extint method)
listdir() (in module uos)
listen() (socket method)
(usocket.socket method)
LITTLE_ENDIAN (in module uctypes)
loads() (in module ujson)
localtime() (in module utime)
log() (in module cmath)
(in module math)
log10() (in module cmath)
(in module math)
log2() (in module math)
LOW_POWER (built-in variable)
M
mac() (network.wlan method)
machine (module)
machine.ADC (built-in class)
machine.DEEPSLEEP (in module machine)
machine.DEEPSLEEP_RESET (in module machine)
machine.HARD_RESET (in module machine)
machine.I2C (built-in class)
,
[1]
machine.IDLE (in module machine)
machine.Pin (built-in class)
machine.PIN_WAKE (in module machine)
machine.POWER_ON (in module machine)
machine.RTC (built-in class)
machine.RTC_WAKE (in module machine)
machine.SD (built-in class)
machine.SLEEP (in module machine)
machine.SOFT_RESET (in module machine)
machine.SPI (built-in class)
machine.Timer (built-in class)
machine.UART (built-in class)
machine.WDT (built-in class)
machine.WDT_RESET (in module machine)
machine.WLAN_WAKE (in module machine)
main() (in module machine)
(in module pyb)
makefile() (usocket.socket method)
mapper() (Pin method)
match() (in module ure)
(ure.regex method)
math (module)
maxsize (in module sys)
MED_POWER (built-in variable)
mem_alloc() (in module gc)
mem_free() (in module gc)
mem_info() (in module micropython)
mem_read() (i2c method)
mem_write() (i2c method)
micropython (module)
micros() (in module pyb)
millis() (in module pyb)
mkdir() (in module uos)
mkfs() (in module uos)
mktime() (in module utime)
mode() (network.wlan method)
(pin method)
,
[1]
modf() (in module math)
modify() (select.poll method)
modules (in module sys)
mount() (in module pyb)
(in module uos)
N
name() (pin method)
(pinaf method)
namedtuple() (in module ucollections)
names() (pin method)
NATIVE (in module uctypes)
network (module)
network.Server (class in network)
noise() (dac method)
now() (rtc method)
O
off() (led method)
on() (led method)
open() (in module uio)
OPEN_DRAIN (built-in variable)
OrderedDict() (in module ucollections)
OUT (built-in variable)
P
pack() (in module ustruct)
pack_into() (in module ustruct)
patch_program() (network.cc3k method)
patch_version() (network.cc3k method)
path (in module sys)
period() (timer method)
(timerchannel method)
phase() (in module cmath)
phy_mode() (in module network)
pi (in module cmath)
(in module math)
pin()
(pin method)
Pin.AF_OD (built-in variable)
Pin.AF_PP (built-in variable)
Pin.ANALOG (built-in variable)
Pin.board (built-in class)
Pin.IN (built-in variable)
Pin.OUT_OD (built-in variable)
Pin.OUT_PP (built-in variable)
Pin.PULL_DOWN (built-in variable)
Pin.PULL_NONE (built-in variable)
Pin.PULL_UP (built-in variable)
pixel() (lcd method)
platform (in module sys)
polar() (in module cmath)
poll() (in module select)
(select.poll method)
port() (pin method)
pow() (in module math)
prescaler() (timer method)
print_exception() (in module sys)
pull() (pin method)
,
[1]
PULL_DOWN (built-in variable)
PULL_UP (built-in variable)
pulse_width() (servo method)
(timerchannel method)
pulse_width_percent() (timerchannel method)
pyb (module)
pyb.Accel (built-in class)
pyb.ADC (built-in class)
pyb.CAN (built-in class)
pyb.DAC (built-in class)
pyb.ExtInt (built-in class)
pyb.I2C (built-in class)
pyb.LCD (built-in class)
pyb.LED (built-in class)
pyb.Pin (built-in class)
pyb.RTC (built-in class)
pyb.Servo (built-in class)
pyb.SPI (built-in class)
pyb.Switch (built-in class)
pyb.Timer (built-in class)
pyb.UART (built-in class)
pyb.USB_VCP (built-in class)
Q
qstr_info() (in module micropython)
R
radians() (in module math)
read() (adc method)
(spi method)
(uart method)
,
[1]
(usb_vcp method)
(usocket.socket method)
read_timed() (adc method)
readall() (uart method)
,
[1]
(usb_vcp method)
(usocket.socket method)
readchar() (uart method)
readfrom() (i2c method)
readfrom_into() (i2c method)
readfrom_mem() (i2c method)
readfrom_mem_into() (i2c method)
readinto() (i2c method)
(spi method)
(uart method)
,
[1]
(usb_vcp method)
(usocket.socket method)
readline() (uart method)
,
[1]
(usb_vcp method)
(usocket.socket method)
readlines() (usb_vcp method)
rect() (in module cmath)
recv() (can method)
(i2c method)
(socket method)
(spi method)
(usb_vcp method)
(usocket.socket method)
recvfrom() (socket method)
(usocket.socket method)
reg() (pinaf method)
register() (select.poll method)
regs() (ExtInt method)
(network.wiznet5k method)
remove() (in module uos)
rename() (in module uos)
repl_uart() (in module pyb)
reset() (in module machine)
reset_cause() (in module machine)
rmdir() (in module uos)
rng() (in module machine)
(in module pyb)
RTC.ALARM0 (built-in variable)
rxcallback() (can method)
S
scan() (i2c method)
,
[1]
(network.wlan method)
,
[1]
search() (in module ure)
(ure.regex method)
select (module)
select() (in module select)
send() (can method)
(i2c method)
(socket method)
(spi method)
(usb_vcp method)
(usocket.socket method)
send_recv() (spi method)
sendall() (usocket.socket method)
sendbreak() (uart method)
,
[1]
sendto() (socket method)
(usocket.socket method)
sep (in module uos)
setblocking() (usocket.socket method)
setfilter() (can method)
setinterrupt() (usb_vcp method)
setsockopt() (usocket.socket method)
settimeout() (usocket.socket method)
show() (lcd method)
sin() (in module cmath)
(in module math)
sinh() (in module math)
sizeof() (in module uctypes)
sleep() (in module machine)
(in module utime)
,
[1]
sleep_ms() (in module utime)
sleep_type() (in module esp)
sleep_us() (in module utime)
socket.AF_INET (in module usocket)
socket.error (in module usocket)
socket.getaddrinfo() (in module usocket)
socket.IPPROTO_TCP (in module usocket)
socket.IPPROTO_UDP (in module usocket)
socket.SOCK_DGRAM (in module usocket)
socket.SOCK_STREAM (in module usocket)
socket.socket() (in module usocket)
socket.timeout (in module usocket)
source_freq() (timer method)
speed() (servo method)
SPI.LSB (built-in variable)
SPI.MASTER (built-in variable)
,
[1]
SPI.MSB (built-in variable)
,
[1]
SPI.SLAVE (built-in variable)
split() (ure.regex method)
sqrt() (in module cmath)
(in module math)
ssid() (network.wlan method)
ssl.CERT_NONE (in module ussl)
ssl.CERT_OPTIONAL (in module ussl)
ssl.CERT_REQUIRED (in module ussl)
ssl.SSLError (in module ussl)
ssl.wrap_socket() (in module ussl)
standby() (in module pyb)
start() (i2c method)
stat() (in module uos)
status() (network.wlan method)
stderr (in module sys)
stdin (in module sys)
stdout (in module sys)
stop() (i2c method)
(in module pyb)
StringIO (class in uio)
struct (class in uctypes)
swint() (extint method)
switch()
sync() (in module pyb)
(in module uos)
sys (module)
T
tan() (in module math)
tanh() (in module math)
text() (lcd method)
TextIOWrapper (class in uio)
ticks_cpu() (in module utime)
ticks_diff() (in module utime)
ticks_ms() (in module utime)
ticks_us() (in module utime)
tilt() (accel method)
time() (in module utime)
timeout() (network.server method)
Timer.A (built-in variable)
Timer.B (built-in variable)
Timer.MATCH (built-in variable)
Timer.NEGATIVE (built-in variable)
Timer.ONE_SHOT (built-in variable)
Timer.PERIODIC (built-in variable)
Timer.POSITIVE (built-in variable)
Timer.PWM (built-in variable)
Timer.TIMEOUT (built-in variable)
toggle() (led method)
(pin method)
triangle() (dac method)
trunc() (in module math)
U
UART.CTS (built-in variable)
UART.EVEN (built-in variable)
UART.ODD (built-in variable)
UART.RTS (built-in variable)
UART.RX_ANY (built-in variable)
ubinascii (module)
ucollections (module)
uctypes (module)
udelay() (in module pyb)
uhashlib (module)
uhashlib.sha1 (class in uhashlib)
uhashlib.sha256 (class in uhashlib)
,
[1]
uheapq (module)
uio (module)
ujson (module)
unhexlify() (in module ubinascii)
unique_id() (in module machine)
(in module pyb)
unmount() (in module uos)
unpack() (in module ustruct)
unpack_from() (in module ustruct)
unregister() (select.poll method)
uos (module)
update() (uhashlib.hash method)
urandom() (in module uos)
ure (module)
usocket (module)
ussl (module)
ustruct (module)
utime (module)
uzlib (module)
V
value() (adcchannel method)
(pin method)
,
[1]
version (in module sys)
version_info (in module sys)
W
wake_reason() (in module machine)
wakeup() (rtc method)
wfi() (in module pyb)
wipy (module)
WIZNET5K (class in network)
WLAN (class in network)
,
[1]
WLAN.AP (in module network)
WLAN.EXT_ANT (in module network)
WLAN.INT_ANT (in module network)
WLAN.STA (in module network)
WLAN.WEP (in module network)
WLAN.WPA (in module network)
WLAN.WPA2 (in module network)
write() (dac method)
(i2c method)
(lcd method)
(spi method)
(uart method)
,
[1]
(usb_vcp method)
(usocket.socket method)
write_readinto() (spi method)
write_timed() (dac method)
writechar() (uart method)
writeto() (i2c method)
writeto_mem() (i2c method)
X
x() (accel method)
Y
y() (accel method)
Z
z() (accel method)
Ports and Versions
pyboard (v1.8)
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
latest
External links
micropython.org
GitHub