.. _pyboard_quickref: Quick reference for the pyboard =============================== The below pinout is for PYBv1.1. You can also view pinouts for other versions of the pyboard: `PYBv1.0 `__ or `PYBLITEv1.0-AC `__ or `PYBLITEv1.0 `__. .. only:: not latex .. image:: http://micropython.org/resources/pybv11-pinout.jpg :alt: PYBv1.1 pinout :width: 700px .. only:: latex .. image:: http://micropython.org/resources/pybv11-pinout-800px.jpg :alt: PYBv1.1 pinout Below is a quick reference for the pyboard. If it is your first time working with this board please consider reading the following sections first: .. toctree:: :maxdepth: 1 general.rst tutorial/index.rst General board control --------------------- See :mod:`pyb`. :: import pyb pyb.repl_uart(pyb.UART(1, 9600)) # duplicate REPL on UART(1) pyb.wfi() # pause CPU, waiting for interrupt pyb.freq() # get CPU and bus frequencies pyb.freq(60000000) # set CPU freq to 60MHz pyb.stop() # stop CPU, waiting for external interrupt Delay and timing ---------------- Use the :mod:`time