PWM Not Working On Attiny2313

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
rocket200
Posts: 68
Joined: Mon Oct 24, 2011 7:50 pm
Has thanked: 11 times
Been thanked: 3 times

PWM Not Working On Attiny2313

Post by rocket200 »

Hello,

So I have been trying to get the PWM on my Attiny2313(AVR) to output but it hasn't been outputting anything. I am trying to get PWM OC0B to work, but I've tried the other three and they don't seem to be working either. Any ideas?

Thanks!

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PWM Not Working On Attiny2313

Post by Benj »

Hello,

Flowcode v4 only works with PWM channels 0C1A and OC1B. Index 1 refers to channel A and 2 refers to channel B.

For Flowcode v5 we added PWM support so that all PWM channels are available to the user.

Post Reply