Show Posts
Pages: [1]
1  Products / Arduino Due / Re: PWM Pins don't work on: December 22, 2012, 09:36:29 am
I tried this on all other PWM pins and it worked. Pin here is set to 13 but I changed that to all PWM pins.

Code:
int ledPin = 13;
void setup() {
  pinMode(ledPin, OUTPUT);
}
void loop() {
  digitalWrite(ledPin, HIGH);
  delay(1000);
  digitalWrite(ledPin, LOW);
  delay(1000);
}
2  Products / Arduino Due / PWM Pins don't work on: December 21, 2012, 07:24:29 pm
Hi All,

I am new to Arduino as well as I'm new to electronics, but I was always interested.
I have bought Arduino Due and I'm trying some simple projects, but I found a problem. PWM pins 2-7 do not work. I tried to make them blink led but it didn't work. Is there anything special about those pins that need to be setup or should it work with no modification?
All other PWM pins work OK. Does that mean my pins are broken?

Thank you for any helpful comments.

Mirek
Pages: [1]