Arduino

Discussion in 'UDOO NEO' started by Nouma, Jun 13, 2016.

  1. Nouma

    Nouma New Member

    Joined:
    Jun 13, 2016
    Messages:
    7
    Likes Received:
    0
    Hello everybody !

    I'm new here and would like to test the UDOO NEO. So I installed everything by following the tutorials and I launched a sample program (Gyroscope). However I don't understand why when I open the serial port, the program doesn't come back all the time to the line after the command "Serial.println ((int) sensor.gyroData.z);" (view the photo : https://drive.google.com/open?id=0B4P6ST8dhrX1a0hHTUFPZzlYQm8).

    I haven't touched the program and I use VNC because I have no screen or keyboard yet.

    Can you help me ??
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Hi, welcome to the wonderful world of the serial connection between Linux (A9) and Arduino (M4) on the Neo. As I interpreted your question correctly you are wondering why you not always see the new line (/r/n) with Serial.println?

    It is a known issue and according the last information I know the Udoo team is working on it.
     
  3. Nouma

    Nouma New Member

    Joined:
    Jun 13, 2016
    Messages:
    7
    Likes Received:
    0
    Yes thats exactly it !

    Okay, just wait then, but not too long I hope! :)
     
  4. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi @Nouma,
    are you trying to do it "internally" or through an external PC? Because "the external way" has never been implemented
     
  5. Nouma

    Nouma New Member

    Joined:
    Jun 13, 2016
    Messages:
    7
    Likes Received:
    0
    Hi !
    I've tested both methods (internally and through an external PC). The image I watch comes with an external PC (with the VNC software under windows), but the problem remains the same if I directly used to compile with the udoo view the photo : https://drive.google.com/open?id=0B4P6ST8dhrX1bkd1eGtmSzdtTTg.
     
  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
  7. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    @Andrea Rovai Perhaps a good idea to also put these kind of announcements in the announcement section of this Forum http://www.udoo.org/forum/forums/announcements.29/

    Answer from @Andrea Rovai
    AHAHHAHH, confess, you are @ektor5, aren't you? He's just told me to move the post in the announcement section :p My point is that the announcement section is pretty empty so maybe it's a good idea to spread the announcement section through the other subforums. What do you think? I've edited your post just to avoid going off-topic
     
  8. Nouma

    Nouma New Member

    Joined:
    Jun 13, 2016
    Messages:
    7
    Likes Received:
    0
  9. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  10. Nouma

    Nouma New Member

    Joined:
    Jun 13, 2016
    Messages:
    7
    Likes Received:
    0
    Thank you for the quick answers!
    It's good I can build from an external PC, but the original problem is still there (I don't put the image because it is exactly the same, the return line is not always here ^^)
    I hope the problem will be solved for the next version ! :)
     
  11. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Your initial problem has nothing to do with Arduino IDE and/or local or external programming.
     

Share This Page