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
_
__call__() (machine.Pin method)
(pyb.Switch method)
__str__() (pyb.Pin method)
(pyb.pinaf method)
A
a2b_base64() (in module ubinascii)
abs() (built-in function)
accept() (usocket.socket method)
acos() (in module math)
acosh() (in module math)
ADC (class in machine)
adcchannel() (in module machine)
addressof() (in module uctypes)
af() (pyb.Pin method)
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)
any() (built-in function)
(machine.UART method)
(pyb.CAN method)
(pyb.UART method)
(pyb.USB_VCP 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)
atan() (in module math)
atan2() (in module math)
atanh() (in module math)
B
b2a_base64() (in module ubinascii)
BIG_ENDIAN (in module uctypes)
bin() (built-in function)
bind() (usocket.socket method)
bool (built-in class)
bootloader() (in module pyb)
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)
calibration() (pyb.RTC method)
(pyb.Servo method)
callable() (built-in function)
callback() (pyb.Switch method)
(pyb.Timer method)
(pyb.timerchannel method)
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)
cancel() (machine.RTC 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.ADC method)
(pyb.Timer method)
chdir() (in module uos)
chr() (built-in function)
classmethod() (built-in function)
clearfilter() (pyb.CAN method)
close() (pyb.USB_VCP method)
(usocket.socket method)
cmath (module)
collect() (in module gc)
command() (pyb.LCD method)
compare() (pyb.timerchannel method)
compile() (built-in function)
(in module ure)
complex (built-in class)
connect() (network.cc3k method)
(usocket.socket method)
contrast() (pyb.LCD method)
copysign() (in module math)
cos() (in module cmath)
(in module math)
cosh() (in module math)
counter() (pyb.Timer method)
D
datetime() (pyb.RTC method)
DEBUG (in module ure)
debug() (pyb.Pin class method)
decompress() (in module uzlib)
deepsleep() (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)
(pyb.CAN method)
(pyb.DAC method)
(pyb.I2C method)
(pyb.SPI method)
(pyb.Timer method)
(pyb.UART method)
delay() (in module pyb)
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.cc3k method)
divmod() (built-in function)
dumps() (in module ujson)
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)
enumerate() (built-in function)
erf() (in module math)
erfc() (in module math)
eval() (built-in function)
exec() (built-in function)
exit() (in module sys)
exp() (in module cmath)
(in module math)
expm1() (in module math)
extend() (array.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)
feed() (machine.wdt method)
FileIO (class in uio)
fill() (pyb.LCD method)
filter() (built-in function)
filtered_xyz() (pyb.Accel method)
float (built-in class)
floor() (in module math)
fmod() (in module math)
freq() (in module machine)
(in module pyb)
(pyb.Timer method)
frexp() (in module math)
frozenset (built-in class)
G
gamma() (in module math)
gc (module)
get() (pyb.LCD method)
getattr() (built-in function)
getcwd() (in module uos)
getvalue() (uio.BytesIO method)
globals() (built-in function)
gpio() (pyb.Pin method)
group() (ure.match method)
H
hard_reset() (in module pyb)
hasattr() (built-in function)
hash() (built-in function)
have_cdc() (in module pyb)
heapify() (in module uheapq)
heappop() (in module uheapq)
heappush() (in module uheapq)
hex() (built-in function)
hexdigest() (uhashlib.hash method)
hexlify() (in module ubinascii)
hid() (in module pyb)
I
I2C.MASTER (in module machine)
(in module pyb)
I2C.SLAVE (in module pyb)
id() (built-in function)
idle() (in module machine)
ifconfig() (network.cc3k method)
(network.wiznet5k method)
implementation (in module sys)
index() (pyb.pinaf method)
info() (in module pyb)
(pyb.RTC method)
init() (machine.ADC method)
(machine.RTC method)
(machine.SD method)
(machine.SPI method)
(machine.adcchannel method)
(pyb.CAN method)
(pyb.DAC method)
(pyb.I2C method)
(pyb.Pin method)
(pyb.SPI method)
(pyb.Timer method)
(pyb.UART method)
initfilterbanks() (pyb.CAN class method)
input() (built-in function)
int (built-in class)
intensity() (pyb.LED method)
irq() (machine.RTC method)
is_ready() (pyb.I2C method)
isconnected() (network.cc3k method)
(pyb.USB_VCP method)
isfinite() (in module math)
isinf() (in module math)
isinstance() (built-in function)
isnan() (in module math)
issubclass() (built-in function)
iter() (built-in function)
L
ldexp() (in module math)
len() (built-in function)
lgamma() (in module math)
light() (pyb.LCD method)
line() (pyb.ExtInt 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 cmath)
(in module math)
log10() (in module cmath)
(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)
main() (in module pyb)
makefile() (usocket.socket method)
map() (built-in function)
mapper() (pyb.Pin class method)
match() (in module ure)
(ure.regex method)
math (module)
max() (built-in function)
maxsize (in module sys)
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)
memoryview (built-in class)
micropython (module)
micros() (in module pyb)
millis() (in module pyb)
min() (built-in function)
mkdir() (in module uos)
mktime() (in module utime)
mode() (pyb.Pin method)
modf() (in module math)
modify() (select.poll method)
modules (in module sys)
mount() (in module pyb)
N
name() (pyb.Pin method)
(pyb.pinaf method)
namedtuple() (in module ucollections)
names() (pyb.Pin method)
NATIVE (in module uctypes)
network (module)
next() (built-in function)
noise() (pyb.DAC method)
now() (machine.RTC method)
O
object (built-in class)
oct() (built-in function)
off() (pyb.LED method)
on() (pyb.LED method)
open() (built-in function)
(in module uio)
ord() (built-in function)
OrderedDict() (in module ucollections)
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() (pyb.Timer method)
phase() (in module cmath)
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.board (class in machine)
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_NONE (in module pyb)
Pin.PULL_UP (in module machine)
(in module pyb)
pixel() (pyb.LCD method)
platform (in module sys)
polar() (in module cmath)
poll() (in module select)
(select.poll method)
port() (pyb.Pin method)
pow() (built-in function)
(in module math)
prescaler() (pyb.Timer method)
print() (built-in function)
print_exception() (in module sys)
property() (built-in function)
pull() (pyb.Pin method)
pulse_width() (pyb.Servo method)
(pyb.timerchannel method)
pulse_width_percent() (pyb.timerchannel method)
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.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)
read() (machine.SPI method)
(machine.UART method)
(pyb.ADC method)
(pyb.UART method)
(pyb.USB_VCP method)
(usocket.socket method)
read_timed() (pyb.ADC method)
readall() (machine.UART method)
(pyb.UART method)
(pyb.USB_VCP method)
(usocket.socket 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)
(usocket.socket method)
readline() (machine.UART method)
(pyb.UART method)
(pyb.USB_VCP method)
(usocket.socket method)
readlines() (pyb.USB_VCP method)
rect() (in module cmath)
recv() (pyb.CAN method)
(pyb.I2C method)
(pyb.SPI method)
(pyb.USB_VCP method)
(usocket.socket method)
recvfrom() (usocket.socket method)
reg() (pyb.pinaf method)
register() (select.poll method)
regs() (network.wiznet5k method)
(pyb.ExtInt class method)
remove() (in module uos)
rename() (in module uos)
repl_uart() (in module pyb)
repr() (built-in function)
reset() (in module machine)
reset_cause() (in module machine)
reversed() (built-in function)
rmdir() (in module uos)
rng() (in module pyb)
round() (built-in function)
RTC (class in machine)
RTC.ALARM0 (in module machine)
rxcallback() (pyb.CAN method)
S
scan() (machine.I2C method)
(pyb.I2C method)
SD (class in machine)
search() (in module ure)
(ure.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)
(usocket.socket method)
send_recv() (pyb.SPI method)
sendall() (usocket.socket method)
sendbreak() (machine.UART method)
(pyb.UART method)
sendto() (usocket.socket method)
sep (in module uos)
set (built-in class)
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)
sin() (in module cmath)
(in module math)
sinh() (in module math)
sizeof() (in module uctypes)
sleep() (in module machine)
(in module utime)
sleep_ms() (in module utime)
sleep_us() (in module utime)
socket.AF_INET (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)
sorted() (built-in function)
source_freq() (pyb.Timer method)
speed() (pyb.Servo method)
SPI.LSB (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)
ssl.wrap_socket() (in module ussl)
standby() (in module pyb)
start() (machine.I2C method)
stat() (in module uos)
staticmethod() (built-in function)
stderr (in module sys)
stdin (in module sys)
stdout (in module sys)
stop() (in module pyb)
(machine.I2C method)
str (built-in class)
StringIO (class in uio)
struct (class in uctypes)
sum() (built-in function)
super() (built-in function)
swint() (pyb.ExtInt method)
sync() (in module pyb)
(in module uos)
sys (module)
T
tan() (in module math)
tanh() (in module math)
text() (pyb.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() (pyb.Accel method)
time() (in module utime)
time_pulse_us() (in module machine)
Timer (class in machine)
Timer.A (in module machine)
Timer.B (in module machine)
Timer.MATCH (in module machine)
Timer.NEGATIVE (in module machine)
Timer.ONE_SHOT (in module machine)
Timer.PERIODIC (in module machine)
Timer.POSITIVE (in module machine)
Timer.PWM (in module machine)
Timer.TIMEOUT (in module machine)
toggle() (pyb.LED method)
triangle() (pyb.DAC method)
trunc() (in module math)
tuple (built-in class)
type() (built-in function)
U
UART.CTS (in module pyb)
UART.EVEN (in module machine)
UART.ODD (in module machine)
UART.RTS (in module pyb)
UART.RX_ANY (in module machine)
ubinascii (module)
ucollections (module)
uctypes (module)
udelay() (in module pyb)
uhashlib (module)
uhashlib.sha256 (class in uhashlib)
uheapq (module)
uio (module)
ujson (module)
unhexlify() (in module ubinascii)
unique_id() (in module machine)
(in module pyb)
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)
usb_mode() (in module pyb)
usocket (module)
ussl (module)
ustruct (module)
utime (module)
uzlib (module)
V
value() (machine.adcchannel method)
(machine.Pin method)
(pyb.Pin method)
version (in module sys)
version_info (in module sys)
W
wakeup() (pyb.RTC method)
WDT (class in machine)
wfi() (in module pyb)
WIZNET5K (class in network)
write() (machine.I2C method)
(machine.SPI method)
(machine.UART method)
(pyb.DAC method)
(pyb.LCD method)
(pyb.UART method)
(pyb.USB_VCP method)
(usocket.socket method)
write_readinto() (machine.SPI method)
write_timed() (pyb.DAC method)
writechar() (pyb.UART method)
writeto() (machine.I2C method)
writeto_mem() (machine.I2C method)
X
x() (pyb.Accel method)
Y
y() (pyb.Accel method)
Z
z() (pyb.Accel method)
zip() (built-in function)
Ports and Versions
pyboard (v1.8.4)
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
latest
Downloads
PDF
External links
micropython.org
GitHub