Announcement

Collapse
No announcement yet.

Thermometer Setpoint

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Thermometer Setpoint

    I would like to modify the thermometer setpoint value and visibility at run time. I have not been able to find any documentation or sample programs that explain or show how to do this. Can anyone help me with this?

  • #2


    Essentially objects are static after design time, other than their 'values'.

    To make a thermometer, or most other objects, invisible, write 0xFFFF as their value.

    To have a setpoint adjustable at run time you need to draw it yourself, immediately after every call to img_Show for the object.

    You will need to do some calculations and then draw the line using gfx_Hline(), for example
    Mark

    Comment


    • #3


      Thanks for the quick response!

      Comment

      Working...
      X