Announcement

Collapse
No announcement yet.

Writing float from Arduino to LED_DIGITS?

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

  • Writing float from Arduino to LED_DIGITS?

    I'm trying to write a float (e.g. 123.45) to a set of LED_DIGITS I setup in visi-genie. I setup the digits to have 6 digits with 2 decimal places, however the WriteObj() method only takes a uint16_t (16 bit unsigned int), so how do you write a float?

    Thanks!

  • #2
    You send integer 12345 to the LED_DIGITS (i.e you multiply the float number by 100)
    Mark

    Comment

    Working...
    X