Announcement

Collapse
No announcement yet.

Internal Led Digits Not Responding to Write Commands

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

  • Internal Led Digits Not Responding to Write Commands

    I have been attempting to use the Internal Led Digits on a ULCD-28DT connected to an Arduino Mega. I am unable to update the Internal LED digits on the display.

    I am reading a value from an atlas scientific sensor and displaying the value on the screen.

    If I use the standard LED digits everything works fine - I can send integer values to the display and they constantly update.

    I put both an LED and an iLed on the screen to attempt to update them both.

    If I run the sketch below with both command lines for the Int Led Digits disabled it works fine.

    If I run with either of the command lines for Int Led Digits enabled, it writes the LED Digits and then zeros them out.

    If I just run either command line for the Int Led Digits, no response from the screen.


    nputstring = ""; //clear the string

    temp.print("R"); //send that string to the Atlas Scientific product

    temp.print('\r'); //add a <CR> to the end of the string

    tempstring = temp.readStringUntil(13);

    float t= tempstring.toFloat();

    int tcor=t * 10;

    genie.WriteObject(GENIE_OBJ_LED_DIGITS,0,tcor);

    //genie.WriteObject(GENIE_OBJ_ILED_DIGITS,2,tcor);

    //genie.WriteIntLedDigits(0,tcor);






  • #2
    Hi

    Can you try using this to write to the digits,

    genie.WriteObject(GENIE_OBJ_ILED_DIGITS_L,0,tcor);

    Please let me know if the issue persists after trying this.

    Best regards

    Paul

    Comment


    • #3
      Hi Paul-

      It was the same result. No change on the display.

      Thanks,
      Jeremy

      Comment


      • #4
        It looks like an update to the 4D IDE fixed the issue.

        Thanks for taking the time to have a look

        Comment


        • #5
          Great,

          Thanks for updating me

          Paul

          Comment

          Working...
          X