![OPEN-SMART Rich UNO R3 User Manual Download Page 90](http://html1.mh-extra.com/html/open-smart/rich-uno-r3/rich-uno-r3_user-manual_1639721090.webp)
OPEN-SMART Email:
- 90 -
* temper.getTemperature(); / / get the temperature value, the return of the float is the decimal, unit
is in degrees Celsius.
For example:
float celsius;
celsius = temper.getTemperatue();//get temperature
* disp.init(); // initialization
You should write it in the setup function initialize it and it has set the default brightness to be
3(0~7, number larger, brightness higher).
* disp.display(int8_t DispData []); // display the numbers in the array
* // For example, the array is {1,2,3,4}, then show 1234
Wire.begin();//you should call it in the setup() function because LM75A temperature sensor use
I2C library