You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on a project using TimerOne's pwm functionality on an Arduino Uno.
Now that the prototype code is working we'd like to downsize our ptototype to an ATTiny85.
However, TimerOne lacks support for the PWM function on an ATTiny85.
I may make an attempt to add this functionality myself at a later date if nobody else figures out how.
Today was my first day working with an Arduino(or C for that matter) in three years so I'm a bit out of practice.
Steps To Reproduce Problem
Attempt to call Timer1.pwm() when programming an ATTiny85
Hardware & Software
Board ATTiny85-20PU
Shields / modules used None
Arduino IDE version 1.8.13
Version info & package name (from Tools > Boards > Board Manager)
Operating system & version Ubuntu 18.04 Budgie
Any other software or hardware? Using Arduino Uno as ISP
Arduino Sketch
NOTE: Sketch will be added once I receive the new set of ATTiny85s
// Change the code below by your sketch (please try to give the smallest code which demonstrates the problem)
#include<Arduino.h>// libraries: give links/details so anyone can compile your code for the same resultvoidsetup() {
}
voidloop() {
}
Errors or Incorrect Output
If you see any errors or incorrect output, please show it here. Please use copy & paste to give an exact copy of the message. Details matter, so please show (not merely describe) the actual message or error exactly as it appears.
The text was updated successfully, but these errors were encountered:
Description
I've been working on a project using TimerOne's pwm functionality on an Arduino Uno.
Now that the prototype code is working we'd like to downsize our ptototype to an ATTiny85.
However, TimerOne lacks support for the PWM function on an ATTiny85.
I may make an attempt to add this functionality myself at a later date if nobody else figures out how.
Today was my first day working with an Arduino(or C for that matter) in three years so I'm a bit out of practice.
Steps To Reproduce Problem
Attempt to call
Timer1.pwm()
when programming an ATTiny85Hardware & Software
Board ATTiny85-20PU
Shields / modules used None
Arduino IDE version 1.8.13
Version info & package name (from Tools > Boards > Board Manager)
Operating system & version Ubuntu 18.04 Budgie
Any other software or hardware? Using Arduino Uno as ISP
Arduino Sketch
NOTE: Sketch will be added once I receive the new set of ATTiny85s
Errors or Incorrect Output
If you see any errors or incorrect output, please show it here. Please use copy & paste to give an exact copy of the message. Details matter, so please show (not merely describe) the actual message or error exactly as it appears.
The text was updated successfully, but these errors were encountered: