Announcement

Collapse
No announcement yet.

I am very new in 4Duino

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

  • I am very new in 4Duino

    Hi Everyone!

    Sorry for this but I did not know where can I put my support request.

    So I am very new here and in this system. I started to learn how's work the 4Duino and I encountered a phenomenon what I not understand and I would like to ask some help in this case.

    I have put a picture from the phenomenon. On the picture has a flickering on the left side of green numbers.
    i have put a code as well.

    There is another problem what I have encountered since I have started to make codes in this systems and as I see others has the same problem and I tried the solution but with unsuccess.
    Every time when I start a compile or compile and load the compiler throw up a red colour message "Arduino IDE does not appear to be not responding, check comms port".
    However the compiler run to finish and if I wait some minutes then it seems that the display start working with the complied new code.

    Could you help me in this case.

    Peter
    Attached Files

  • #2
    Hello Peter,

    Thanks for the code. I can't find an issue with the code so I will need to look at the whole workshop project. You can do this in Workshop by clicking on File and then Zip Project and send the zip to me.

    Best regards

    Paul

    Comment


    • #3

      Hello Paul,

      Thank you very much for your quick and kind answer. Fortunately the system now works. Interesting that I did not do nothing for this. Suddenly it has just happened. I attached a picture from the display.
      But what I observed that the error message (arduino IDE does not responding) appear for a short time during the compile and when the compiling process finished this message gone the summarize window pop up but the upload of the compiled code not transferred to the system just after very long time (aprox. 5-6 min or more). However sometimes nothing happens about code upload.
      I attached a picture from the working display and a zip file what have you asked.

      Another case what I would like to ask you has marked on the picture with red marking. This is the date and time what giving to the display an RTC chip. I placed dot between year-month-date numbers and double dot between hour and minutes. Unfortunately it is not working.

      Best regards

      Peter
      Attached Files

      Comment


      • #4
        Hi Peter

        The compile time can take a bit longer if you have a busy PC but I have noticed that it will carry on despite the warning. I have changed the custom digit for a static text using '.' and ':' these characters are not supported in LEDdigits or Custom digits.

        Best regards

        Paul
        Attached Files

        Comment


        • #5
          Hi Paul,

          I understand. Thank you very much for your kind help.

          Best regards
          Peter

          Comment


          • #6

            Hi,

            I am here again. Now I have tried to put the keyboard to my code but I have encountered an error message what I do not understand exactly.
            After I have been put the static code into the main code then I moved the "setup" part of the keyboard static code to a separated function called " void time_screen() " as you see.
            I call this function from an other screen.
            After compiling the following error message has been sent what I attached.

            Best regards
            Peter
            Attached Files

            Comment


            • #7
              Hi Peter,

              Yes it will be the 255's which is causing the problem in that line. I will have a look to see if we can workaround it. Would you mind sending me your project again.

              Best regards

              Paul

              Comment


              • #8
                Hi Paul,

                I am sorry for late reply.
                I attached the requested file.

                Best regards
                Peter
                Attached Files

                Comment


                • peter.hanak
                  peter.hanak commented
                  Editing a comment
                  Hi Paul,

                  In the meanwile I try to solve this problem and I found if I remove all lines for the keyboard widget from the code then the "255" phenomenon disappear. After then I put again the keyboard lines into the code then this oKeyboard line with the "255" value turn up again in the const file. Every time this happens.

                  Best regards
                  Peter

              • #9
                Hi Peter,

                Thanks for the extra information. I am still looking into this and hope to have a solution shortly.

                Best regards

                Paul

                Comment


                • #10
                  Hi Paul!

                  I have pull out the keyboard widget from the code for a while and started to see another way to handle the input.
                  There is a sample code called button what is described how can be use the touch function.
                  What is interesting is that the Display.touch_Get(TOUCH_STATUS) always has zero value what I do not understand.
                  I put into this code the following serial commands.

                  Serial.print("Coordinates: ");Serial.print(x);Serial.print("/");Serial.println(y);
                  Serial.print("Touch status: ");Serial.println(Display.touch_Get(TOUCH_STATUS));delay(1000);

                  In the terminal what I see is that the coordinates are changing so the touch is working but the touch status always zero.



                  Could you check what maybe happen?

                  Big thanks.

                  Peter

                  Comment


                  • #11
                    Hi Paul!

                    Sorry for this. I have solved that. It was a missunderstand from me. I moved the serial command just after the state variable and now I see how works the touch function.

                    It seems I have to store the touch state in a variable to use.

                    Peter

                    Comment


                    • #12
                      Hi!

                      Now I am thinking about that what will be the optimal solution.
                      1. I am starting to crying.
                      2. I am starting to pull up all of my hair.

                      The problem what jump out that this very sweet "Arduino does not responding" error message. I hate it! I do not understand what happened because I did not change anything and yesterday suddenly jump up this message.

                      This is a google drive link:
                      https://drive.google.com/drive/folders/1k7ZhlBZWwz7G-6hUWGlbqp6GjDB3Fixi?usp=sharing

                      Please do not let me cry.

                      Peter

                      Comment


                      • #13
                        Hello Peter,

                        Here are a few suggestions:

                        1. Ensure that you have selected the correct Com Port for your 4Duino.
                        2. Ensure that your USB cable is capable of transmitting data. (you could also try using a different USB cable)
                        3. Reinstall the driver for your 4Duino.
                        To Do this:
                        I. Plug the 4Duino to your PC.
                        II. Open Control Panel > Device manager and look under Ports (COM & LPT)
                        III. Find the port that corresoponds to your 4Duino
                        IV. Right-click on it then select uninstall
                        V. Replug your 4Duino, this should automatically reinstall the driver for your device.

                        I hope this helps.

                        Best regards,
                        Last edited by michael_4D; 12th January 2019, 04:54 PM.
                        Michael

                        Comment


                        • #14
                          Hello Michael,

                          Unfortunately all of this are not working. You have to know that this system worked and I did not changed anything. The modul, the cable, the computer and the software environment are the same. This phenomenon appeard suddenly.
                          I have tried uninstall the driver but it has not solved the problem.
                          As you see the attached pictured and videos from the google drive this phenomenon comes from win7 and win8 booth.
                          There is another information what I have observed a few minutes ago.
                          I have tried to upload a completely different code from the samples database. The "button" sample from 4Duino folder.
                          What I observed is that the "reset" sign went out to the microcontroller and it has restarted but the code has not went out and the "Arduino does not respond" message appeard.

                          Peter

                          Comment


                          • #15
                            Sorry win8 = win10.

                            Comment

                            Working...
                            X