AnalogWrite() PWM Attinyx06 #694
-
Is there an example using AnalogWrite(), or PWM with megatinycore I found the following does not work on ATtiny406. #define SPEED_PIN (13) pinMode(SPEED_PIN, OUTPUT) result: the pin ("PC3", IC-pin15, Digital 13), is low. Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I see now that the 6 PWM pins are clearly marked with '~' in the diagram 'ATtiny_x06.gif' . I would like to remove my original question from the list, however the method by which to achieve this is not apparent. |
Beta Was this translation helpful? Give feedback.
-
This makes me wonder...,.. Should I have a tools submenu to select the PWM configuration? Maybe I should..... Choose between PA3/4/5 and PC3/4/5 for the high half, or run PWM in non-split-mode with buffering..... Except neither of the two sets of pin options for WO0/1/2 (there's no 3/4/5 in non-split mode) are unarguably a great choice. because of the other functions of those pins. |
Beta Was this translation helpful? Give feedback.
I see now that the 6 PWM pins are clearly marked with '~' in the diagram 'ATtiny_x06.gif' . I would like to remove my original question from the list, however the method by which to achieve this is not apparent.