analogWrite on any PWM pin result in: not capable of PWM Output #383
Replies: 9 comments
-
Posted at 2014-01-26 by Kim This should work just fine. I just tested it out with the exact same pin. Have you updated to the latest version of the Espruino software? Could you also tell some more on how you wired up the LED? Finally, could you try just typing |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-26 by TiCPU Have you updated to the latest version of the Espruino software? Could you also tell some more on how you wired up the LED? Finally, could you try just typing analogWrite()?
I'm pretty sure it is the software version if it works (and is in the documentation!) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-26 by Kim I have indeed updated to the latest version. My wiring is exactly the same as yours, so I can't think of any reason why digitalWrite wouldn't work! I think it would indeed be best to first update the software and try again. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-26 by JumJum just typed analog.Write(A0,0.2) in terminal window and got an error (using .operator on non object.... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-26 by TiCPU And yes, of course, it was the because of version 1v43, not all of my boards were up to date. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-26 by Kim @jumjum the command is analogWrite, so without the dot in between |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-26 by JumJum @kim, thanks a lot, often problems are located between the ears :-) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-27 by @gfwilliams Great - so all sorted now? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-27 by TiCPU Yes Gordon, the new version fixes it all. thanks for the follow up :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-01-26 by TiCPU
I'm just trying to PWM a LED and noticed that the only 2 output I could use for analogWrite were the DACs, all other PWM pins result in:
Beta Was this translation helpful? Give feedback.
All reactions