SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By gisonni_89
#183014
I have just received my PCDuino3 for a school project but I am having trouble using the analogWrite function on the Arduino IDE. When I create a blinking program using digitalWrite it operates properly. When I upload the blinking sketch a terminal window opens that controls the program(when I close the terminal window the blinking ends) and it works fine, but when I attempt the same program or any program with analogWrite and upload it the terminal window opens up and then instantly closes. I have tried different ports and different analog values and tried including another delay but the result is always the same. I need analog applications for my project so please help!

Thank you!
By GeminiWhite
#190736
Hello gisonni_89,
... one year leter I am going through the exact same thing: PCDuino3, Arduino, analogeWrite (PWM6), Terminal Window apears quickly and disapears ...
Did you find the problem one year ago?
Help would be highly appreciated!
Thank you