Component: Digital Temperature (EBM004) (EBM Modules): Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
==Digital Temperature component== | ==Digital Temperature component== | ||
A digital temperature sensor based around the LM75B chip. | A digital temperature sensor based around the LM75B chip. | ||
==Component Pack== | |||
SENSORS | |||
==Detailed description== | ==Detailed description== | ||
| Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
Revision as of 16:23, 7 January 2022
| Author | Matrix TSL |
| Version | 2.0 |
| Category | EBM Modules |
Digital Temperature component
A digital temperature sensor based around the LM75B chip.
Component Pack
SENSORS
Detailed description
No detailed description exists yet for this component
Examples
This example simply reads the value from the digital temperature sensor and outputs the value to an LCD as a temperature in degrees C.
Downloadable macro reference
| ReadInt | |
| Read double byte data from register at address | |
| address | |
| Return | |
| ReadFloat | |
| Reads the temperature value as a float | |
| Return | |
| WriteByte | |
| address | |
| data | |
| Return | |
| WriteInt | |
| address | |
| data | |
| Return | |
| ReadByte | |
| Read a single byte at a specific address from the chip's internal memory. | |
| address | |
| Return | |
| Uninit | |
| Uninitialise and release resources | |
| Return | |
| Initialise | |
| Initialise to default of 11 bit resolution | |
| Return | |