Floating point value display: Difference between revisions
From Smart LCD
mNo edit summary |
m →e.g. |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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 | * See also [[Character Elements#Number Element (NUM)|Number Element (NUM)]] for details | ||
=== e.g. === | |||
* send a value in to the VP_N32 by command | |||
AA 44 00 02 00 00 444988F6 CC 33 C3 3C | |||
* VP_N32 (Add 0x20000) | |||
* 0x020000 := 0x444988f6 (806.4(d)) | |||
=== downloads === | |||
nil. | |||
Latest revision as of 17:49, 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.
- send a value in to the VP_N32 by command
AA 44 00 02 00 00 444988F6 CC 33 C3 3C
- VP_N32 (Add 0x20000)
- 0x020000 := 0x444988f6 (806.4(d))
downloads
nil.