In the example code the apprunner and bteve2 libraries are imported. A function is made which takes a parameter called eve which is used to access the BT82x. At the top level of python script a call is made to apprunner with the name of the function. This sets up the environment for drawing on the BT82x.
The following example code is available:
| Folder | Description |
|---|---|
| audioloop | Advanced plot graph widget demo code |
| b2tf | Advanced seven segment demo code |
| bitmap | Simple bitmap demo code |
| carousel | Simple image carousel display to show JPG and PNG files from the SD card |
| cruise | Circular click-wheel display demo code |
| dronefpv | Drone FP Video demo code |
| flightdeck | Flightdeck example demo code |
| fontmagic | Simple example code demonstrating scaling and rotating fonts |
| ledclock | led clock demo code |
| localbehavior | localbehavior button demo code |
| plottest | Simple plot graph demo code |
| segment | Simple seven segment demo code |
| simple | Simple example code |
| teapot | 3D teapot rotation demo code |
| touchoffset | Touch-offset demo code |
| tsd | Time-series data live display, using HISTOGRAM |
In addition to runable demo code there are libraries of widgets and utilities that are used by the examples or help development.
| File/Folder | Description |
|---|---|
| snippets | Common files and widgets for the examples |
Many of the examples load code or modules from this directory.