Thanks Ian, that does make sense :-)
For the ADC / rotation sensor: I started with a solution like rotation[{x,y}]:= (x * 256 +y )/(12 * 256+240) * 300 degrees, and then rotation[DeviceRead["I2C",2]]
It worked too, but you just learned me some new functions :-)
Great that the SenseHAT works now too. I did not see it with FindDevices[] first, (I did see a lot of I2C entries) but all examples work beautifully . Great job!
For the students I will start with a I2C soil moisture sensor that needs some calibration and conversion (it is non linear) . I want to make it as smooth as the SenseHAT functions, and then I will add other I2C sensors like UV index, Sunlight, Infrared, temperature, humidity. Can I peek into some code of how the SenseHAT functions are built up? or is that closed source?
Thanks for your help,
Ted