Floating point value input

From Smart LCD
Revision as of 15:41, 22 August 2025 by Usr255 (talk | contribs)

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 create a Floating point input with a PIP keyboard.

How to

  1. create a TPK on a screen
  2. select Call keyboard function "PIP Number Keyboard"
  3. VP Address must be a VP_N32 variable
  4. Data Type select "Float"

e.g.

  • Using the keyboard input ”806.14“
  • VP_N32(Add=0x020000) will store "0x444988f6"

download

demo project: SDM-23-0003(FloatInput_N32).zip