Pyb User's Guide
pyb.sourceforge.net › userguidePyb is currently released under a GPLlicense. Installing To install just add the Pyb directory to your PATH environment variable. This will let you execute Pyb just by typing in 'pyb' on the command line. Getting Started The Pyb distribution includes a demo which shows how pyb can be used to build Java project.
Quick reference for the pyboard — MicroPython 1.17 documentation
docs.micropython.org › en › latestfrom pyb import CAN can = CAN(1, CAN.LOOPBACK) can.setfilter(0, CAN.LIST16, 0, (123, 124, 125, 126)) can.send('message!', 123) # send a message with id 123 can.recv(0) # receive message on FIFO 0 Internal accelerometer See pyb.Accel. from pyb import Accel accel = Accel() print(accel.x(), accel.y(), accel.z(), accel.tilt())
Pyb User's Guide
pyb.sourceforge.net/userguide.htmlThe tasks package contains core and language-specific tasks. The pyb.core module contains core classes such as Project and Task. from pyb import filters from pyb import tasks from pyb.tasks import java from pyb.tasks import py from pyb.core import * The next section of the build script contains any variables used globally throughout the build ...