Devantech thermal array.
This must be connected to the I2C bus and a 5V power source. Note that we do not use the in-built servo driver.
It may be defined using:
Devantech_TPA81 tpa = MAKE_Devantech_TPA81();
If you have changed the I2C address of the device from the default value of 0xD0 to, say, 0xD4 then you will need to use:
Devantech_TPA81 tpa = MAKE_Devantech_TPA81_At(0xD4);
The sensor should be initialised in appInitHardware using:-
The sensor can then be read using:-
and then the ambient temperature will be in tpa.temperature.celsius
The device also returns 8 individual values which are available in tpa.sensor to tpa.sensor