Treehopper is a USB 2.0 Full Speed device with 20 Pins — each of which can be used as an analog input, digital input, digital output, or soft-PWM output. Many of these pins also have dedicated peripheral functions for SPI, I2C, UART, and PWM.
You'll access all the pins, peripherals, and board functions through this class, which will automatically create all peripheral instances for you.
Once a board is connected, other applications won't be able to use it. When your app is running in Windows or macOS, you can investigate the name or serialNumber properties before calling connect(). This will let you determine which board to connect to if you have multiple boards used by multiple applications.
Next steps
To learn about accessing different Treehopper peripherals, visit the doc links to the relevant classes: