Floating point value display: Difference between revisions
From Smart LCD
m →how to |
mNo edit summary |
||
| Line 7: | Line 7: | ||
* VP_N32 is a variable in RAM area, it can hold a 32bit value, which can be an integer or a floating point value. | * VP_N32 is a variable in RAM area, it can hold a 32bit value, which can be an integer or a floating point value. | ||
* For showing floating point value that hold in the VP, Data Type have to selected as "Float" | * For showing floating point value that hold in the VP, Data Type have to selected as "Float" | ||
[[Character Elements#Number Element (NUM)|Number Element (NUM)]] | * See also [[Character Elements#Number Element (NUM)|Number Element (NUM)]] for details | ||
=== e.g. === | |||
* use command AA 44 00 02 00 00 444988F6 CC 33 C3 3C to send the value in to the VP_N32 | |||
* VP_N32 (Add 0x20000) | |||
* 0x020000 := 0x444988f6 (806.4(d)) | |||
Revision as of 16:59, 17 September 2025
background
Smart LCD provide VP_N32 can holding a 32bit number value and show as integer or floating point value. Here give an example about how to show it in NUM element.
how to

- VP_N32 is a variable in RAM area, it can hold a 32bit value, which can be an integer or a floating point value.
- For showing floating point value that hold in the VP, Data Type have to selected as "Float"
- See also Number Element (NUM) for details
e.g.
- use command AA 44 00 02 00 00 444988F6 CC 33 C3 3C to send the value in to the VP_N32
- VP_N32 (Add 0x20000)
- 0x020000 := 0x444988f6 (806.4(d))