Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Code not running properly on: January 20, 2011, 04:18:52 am
Hey, though I have no clue why that simple blink sketch didn't work, the rest of my sketches were producing the wrong output due to a few logic errors around the sizeof() operator. I've fixed those and everything is working fine again.

I am terribly sorry for wasting all of your time.
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Code not running properly on: January 13, 2011, 08:20:18 am
Quote
What do you mean by shorting the isp header?
I accidentally touched the pins labeled ICSP with my pliers while it was on.

Quote
LED on or off...
In that sketch, the LED stayed off.

To make sure it wasn't something wrong with my computer/OS, I tried a different one. (This time, running windows).

Everything worked properly for a little while, but then it died again smiley-sad
(Sketches now cause random results)

I uploaded a sketch with lots of Serial output, but then I just saw the letter 'ÿ' being repeated over and over again on the serial monitor.
3  Forum 2005-2010 (read only) / Troubleshooting / Re: Code not running properly on: January 12, 2011, 04:10:08 am
Well, it simply does not produce the expected output for ANY of the sketches I put in there.

For example, I put in the following simple test:
void setup()
{
    pinMode(13, OUTPUT);
}

void loop()
{
    digitalWrite(13, HIGH);
    delay(500);
    digitalWrite(13, LOW);
    delay(500);
}

Instead of the light blinking, it stays on continuously.

If I upload any of my other more complicated sketches, they also cause random results.
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Code not running properly on: January 12, 2011, 03:52:37 am
yep, they worked fine before.
5  Forum 2005-2010 (read only) / Troubleshooting / Code not running properly on: January 12, 2011, 03:19:31 am
A little while ago, I accidentally shorted the ICSP pins on my Arduino Uno (while it was on), and I think I may have corrupted the bootloader because now my sketches won't run properly.

I would have tried burning a bootloader but I don't have an ISP. Do I have to order one, or is there any other tricks that will let me fix it?

Also, could it be anything else?
(The sketches upload fine, they just won't execute properly.)
Pages: [1]