How to Use an I²C Driver?
For better readability of the Robo Pro program and faster development, a good approach consists on using drivers.
A driver contains specific ready-to-use functions to talk with the corresponding I²C device.
Robo Pro 3.1.3 comes with a specific directory with drivers for a wide selection of the most popular I²C devices.
How to Import a Driver
What's Inside a Driver?
A driver is a standard Robo Pro project file with all the functions to talk with the corresponding I²C device.
If the functions require so, sub-functions are also included.
As any other Robo Pro project, it has a main program and functions.
As seen before, we use only the functions.
The main program provides an example. Using that example to get familiar with the I²C device is a good idea.