Difference between revisions of "Component: Temperature (LM75B) (LM75B) (Environmental)"
From Flowcode Help
Jump to navigationJump to search| Line 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 79: | Line 81: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===ReadInt=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 97: | Line 100: | ||
| + | ===ReadFloat=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 110: | Line 114: | ||
| + | ===WriteByte=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 133: | Line 138: | ||
| + | ===WriteInt=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 156: | Line 162: | ||
| + | ===ReadByte=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 174: | Line 181: | ||
| + | ===Uninit=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 187: | Line 195: | ||
| + | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:52, 3 February 2023
| Author | Matrix TSL |
| Version | 2.0 |
| Category | Environmental |
Contents
Temperature (LM75B) component
A digital temperature sensor based around the NXP LM75B chip.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Temperature_LM75B.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Temperature_LM75B.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ReadInt
| ReadInt | |
| Read double byte data from register at address | |
| address | |
| Return | |
ReadFloat
| ReadFloat | |
| Reads the temperature value as a float | |
| Return | |
WriteByte
| WriteByte | |
| address | |
| data | |
| Return | |
WriteInt
| WriteInt | |
| address | |
| data | |
| Return | |
ReadByte
| ReadByte | |
| Read a single byte at a specific address from the chip's internal memory. | |
| address | |
| Return | |
Uninit
| Uninit | |
| Uninitialise and release resources | |
| Return | |
Initialise
| Initialise | |
| Initialise to default of 11 bit resolution | |
| Return | |