Announcement

Collapse
No announcement yet.

UOLED-160-G2 Arduino Leddigits

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

  • #16
    I checked all the commands with spe and serial commander, all it's OK. --> My display work properly

    Comment


    • #17
      Hi,

      I have tried to run the attached file, and it is working fine.

      It seem the execution stay into mycallback() function...
      I do suspect that it has something to do with the 5-way cable. Do you have any spare cable to test it out?
      If you do not have any, you can always use jumping wires.

      Also, just to make sure that we are on the same page. Can you please follow the steps below.
      1.) Put the uSD card on a card reader and connect it to a PC/laptop.
      2.) Open the ViSi program, and click the " Compile" button. The Workshop4 should create the supporting files,
      this will prompt you to copy the files on a uSD card.
      3.) Remove the card reader on the PC/laptop, and insert the uSD card on the display module.
      4.) Create a New Project on the "Serial" Environment, then click the "SPE Load" button.
      5.) Upload the Arduino Sketch on your Arduino board.
      6.) Connect the 5-way cable on Arduino and the display to establish the communication.
      7.) Click the reset button on the Arduino board.

      I hope this helps.
      Best Regards,
      Kevin

      Comment


      • #18
        Hi Kevin,
        Yes It's working with jumping wires.
        Now I need to display leddiggit with my visi sketch.

        Do I use Goldelox_LedDigitsDisplay.h librairy and this command:
        Display.LedDigitsDisplay(Goldelox_Serial_4DLib Display, word newval, word indexH, word indexL, word left, word top, word Digits, word MinDigits, word WidthDigit, word LeadingBlanks)

        Correct ?

        In this command what is ''Goldelox_Serial_4DLib Display'' parameter ?

        Thanks

        Comment


        • #19
          Hello,

          It will be best if you use Custom Digits for your application.
          Please take a look at post #7 in this forum thread: https://forum.4dsystems.com.au/node/49608
          There is a sample program which you can use as a reference.

          Best Regards,
          Kevin

          Comment


          • #20
            Hello,
            Why not,
            Is there any tuto how to create my own custom digits ?
            link / doc ?
            Thanks.

            Comment


            • #21
              Hello,

              The function that you mentioned - Display.LedDigitsDisplay does not exist on the Goldelox-Serial-Arduino Library,
              so you need to port/create your own routine in order to control/change the value of the LedDigit.

              Why not,
              Referring to the link that I mentioned, the project file attached already has an example code
              which demonstrates how to change values of the Custom Digits on the display by sending the commands through the Arduino.
              Though, I remember that you need decimal places on your Led Digit - which is not present on the bitmap file used on the project.

              Using the example code, I tried to control the 'Led Digit' widget by sending the commands through Arduino.
              Can you also test and try the attached Arduino sketch.
              *Please do read the comments on the attached program

              Is there any tuto how to create my own custom digits ?
              link / doc ?
              As of now, we do not have a specific app note for that, however, you may want to check these links for additional reference:

              Custom digits overllap
              Transparent Background for Custom Digits?
              ledDigitsDisplay for float numbers

              Best Regards,
              Kevin
              Attached Files

              Comment


              • #22
                Referring to the link that I mentioned,
                Which link ?

                This link ?
                Please take a look at post #7 in this forum thread: https://forum.4dsystems.com.au/node/49608

                Comment


                • John Kevin
                  John Kevin commented
                  Editing a comment
                  Yes. Have you tried the attached Arduino Sketch?

              • #23
                I've just try it.
                LeadinZero = NO --> don't working ?


                Click image for larger version

Name:	customdigits leadingzero NO.jpg
Views:	76
Size:	649.7 KB
ID:	69054


                Arduino and visi sketchs are changed with no leadingzero.




                Click image for larger version

Name:	arduino_leadingzero.jpg
Views:	70
Size:	122.4 KB
ID:	69055

                Comment


                • #24
                  That's Ok now with new custom digits with space and ''-''

                  Click image for larger version

Name:	customdigits2 leadingzero NO.jpg
Views:	96
Size:	808.8 KB
ID:	69057


                  Now I need to set for my project and test.
                  I can read customs digits don't display decimal simply.
                  If I understand I need to seperate decimal first. Correct?.

                  Comment


                  • #25
                    Hi,

                    I can read customs digits don't display decimal simply.
                    That is because the bitmap file on the example does not have a decimal on it, as it is an example for integer numbers.

                    Using the example code, I tried to control the 'Led Digit' widget by sending the commands through Arduino.
                    Please try to use the 'Led Digits' and not the Custom Digits. Create a ViSi file with a Led Digit and let me know the result.

                    I hope this helps.

                    Best Regards,
                    Kevin

                    Comment


                    • #26
                      Please try to use the 'Led Digits' and not the Custom Digits. Create a ViSi file with a Led Digit and let me know the result.

                      Yesterday you wrote me:

                      It will be best if you use Custom Digits for your application.


                      Comment


                      • #27
                        Here the result

                        Click image for larger version

Name:	Uoled160G2-temp+turbo.jpg
Views:	80
Size:	36.4 KB
ID:	69079

                        Comment

                        Working...
                        X