Something you may want to consider as well is whether your sensor(s) have off-the-shelf linux drivers available in e.g. the IIO or hwmon stack. They may not be enabled by default in Torizon but many drivers can easily be side-loaded via TorizonCore-builder and the net result is that you have to do a lot less development work - in most cases, to get a sensible value you just need to read a special file in (say) /sys/class/hwmon or /sys/bus/i2c and you will get human-readable numbers directly without needing to write any I2C or other bus code yourself.
1 Like