Difference between revisions of "Component: Digital Temperature (EBM004) (EBM Modules)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 210: | Line 214: | ||
|- | |- | ||
| colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | | colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
+ | | width="90%" | Simulation Comms | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation GUI | ||
+ | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
Line 230: | Line 247: | ||
|- | |- | ||
| colspan="2" | Set whether the I2C data is displayed as decimal or hexadecimal numbers. | | colspan="2" | Set whether the I2C data is displayed as decimal or hexadecimal numbers. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 17:23, 9 November 2022
Author | Matrix TSL |
Version | 2.0 |
Category | EBM Modules |
Contents
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 |