Difference between revisions of "Component: EBM0016 GUI (Misc)"
From Flowcode Help
Jump to navigationJump to search| (2 intermediate revisions by the same user not shown) | |||
| Line 52: | Line 52: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 59: | Line 65: | ||
==Macro reference== | ==Macro reference== | ||
| − | === | + | ===GetData=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetData''' |
|- | |- | ||
| − | | colspan="2" | | + | | colspan="2" | Return a simulated register value for the given commands. Recognised commands are 0xF3 (Temperature register) and 0xF5 (Humidity Register). Note that a CRC checksum is not used in simulation. |
|- | |- | ||
|- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |
| − | | width="90%" | | + | | width="90%" | Command |
|- | |- | ||
| − | | colspan="2" | | + | | colspan="2" | The address of the byte to return. |
|- | |- | ||
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
| Line 97: | Line 103: | ||
| − | === | + | ===SetHumidity=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetHumidity''' |
|- | |- | ||
| − | | colspan="2" | Sends the given | + | | colspan="2" | Sends the given Humidity to the display, and calculates the internal values used by the simulated read macros. |
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
| − | | width="90%" | | + | | width="90%" | Humidity |
|- | |- | ||
| − | | colspan="2" | | + | | colspan="2" | Relative Humidity from 0 to 100 % |
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| Line 116: | Line 122: | ||
| − | === | + | ===SetTemperature=== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTemperature''' |
|- | |- | ||
| − | | colspan="2" | | + | | colspan="2" | Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. |
|- | |- | ||
|- | |- | ||
| − | | width="10%" align="center" | [[File:Fc9- | + | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT |
| − | | width="90%" | | + | | width="90%" | Temperature |
|- | |- | ||
| − | | colspan="2" | | + | | colspan="2" | Temperature value in Celcius, |
|- | |- | ||
| − | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9- | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
| − | |||
| − | |||
Latest revision as of 13:09, 7 February 2023
| Author | Matrix |
| Version | 1.0 |
| Category | Misc |
Contents
EBM0016_GUI component
Private non-release sub-component for the EBM0016 digital Humidity/temperature sensor.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EBM0016_GUI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EBM0016_GUI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetData
SetConsoleHandle
| SetConsoleHandle | |
| Pass the parent sensor's console handle to the GUI to allow opening of the console from the 'Console' button. | |
| Handle | |
| Handle of the console | |
| Return | |
SetHumidity
| SetHumidity | |
| Sends the given Humidity to the display, and calculates the internal values used by the simulated read macros. | |
| Humidity | |
| Relative Humidity from 0 to 100 % | |
| Return | |
SetTemperature
| SetTemperature | |
| Sends the given temperature to the display, and calculates the internal values used by the simulated read macros. | |
| Temperature | |
| Temperature value in Celcius, | |
| Return | |