Treehopper C++ API
|
This documentation contains all C++-specific information for interfacing with Treehopper. For hardware documentation, or for documentation for other languages, visit https://docs.treehopper.io/.
Treehopper's cross-platform C++ API can be compiled on Windows, macOS, Linux, and other UNIX-like operating systems.
In addition to the main API that allows you to manipulate and sample pins on the Treehopper, the C++ API also includes an ever-growing library full of drivers for many different peripheral ICs, including IMUs and other sensors; GPIO expanders, DACs and ADCs; LED drivers, character and graphical displays; and motor drivers, rotary encoders, and other motion devices.
There are two modules in the C++ source tree: