Loop in Arduino

Discussion in 'Arduino IDE' started by Aimar Dynamik, Jul 5, 2016.

  1. Aimar Dynamik

    Aimar Dynamik New Member

    Joined:
    May 3, 2016
    Messages:
    28
    Likes Received:
    8
    Hi!
    I'm just starting to test some things with the arduino.
    I started doing the hello world programs of a blinking LED and so on and I was also able to get the LM35 temp sensor working.
    I tried to upload a program but it did not do anything, so I got back to test the blinking LED again
    I do not know what happens but it does not loop the main program. Now it just Blinks one time.
    Any ideas?
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    On which Udoo? Neo/Quad/Dual?
     
  3. Aimar Dynamik

    Aimar Dynamik New Member

    Joined:
    May 3, 2016
    Messages:
    28
    Likes Received:
    8
    Udoo quad, it just blinks the led once and stops
     
  4. Aimar Dynamik

    Aimar Dynamik New Member

    Joined:
    May 3, 2016
    Messages:
    28
    Likes Received:
    8
    No errors verifying nor while uploading the program in the arduino IDE 1.6.9
     
  5. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Du you program your Udoo from the internal Arduino IDE or an external on your PC? Perhaps try this solution (also when programming internally):
    • Plug the jumper J22 for 1 second, then remove it (to erase the old sketch programmed in SAM3X);

    • Plug the jumper J16 for 1 second, then remove it (to reset the SAM3X);
     
  6. Aimar Dynamik

    Aimar Dynamik New Member

    Joined:
    May 3, 2016
    Messages:
    28
    Likes Received:
    8
    Nothing happens... just blinks once
     
  7. Aimar Dynamik

    Aimar Dynamik New Member

    Joined:
    May 3, 2016
    Messages:
    28
    Likes Received:
    8
    I Program it via external PC, in the SD card I'm having an Android SO
     
  8. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Last edited: Jul 6, 2016
    Andrea Rovai likes this.
  9. Aimar Dynamik

    Aimar Dynamik New Member

    Joined:
    May 3, 2016
    Messages:
    28
    Likes Received:
    8
    Hi @waltervl , just found the mistake. I had some previous programs within Android that were overlapping some inputs and outputs within the arduino. So the output had different values and caused to switch the led off. I had to uninstall the programs in Android.
    Thanks!
     
    Andrea Rovai and waltervl like this.

Share This Page