Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Minor fixes
Source Link
Greenonline
  • 3.2k
  • 7
  • 37
  • 49

write pwm Write PWM with only 8 bit? (timer2Timer2)

iI have a problem with the servoServo library. 

I need to read a ppmPPM signal and create a pwmPWM signal of each channel. The problem is that ppmPPM has a higher resolution than pwmPWM so iI want to use the 16 bit timer1Timer1 for reading ppmPPM. However the servoServo library that writes the pwmPWM signal also uses timer1Timer1. 

Is it possible to generate a pwmPWM signal with 8 bit / timer2Timer2? And didhas someone domade an example, or an explainationexplanation about, how to do that?

write pwm with only 8 bit? (timer2)

i have a problem with the servo library. I need to read a ppm signal and create a pwm signal of each channel. The problem is that ppm has a higher resolution than pwm so i want to use the 16 bit timer1 for reading ppm. However the servo library that writes the pwm signal also uses timer1. Is it possible to generate a pwm signal with 8 bit / timer2? And did someone do an example or an explaination about how to do that?

Write PWM with only 8 bit? (Timer2)

I have a problem with the Servo library. 

I need to read a PPM signal and create a PWM signal of each channel. The problem is that PPM has a higher resolution than PWM so I want to use the 16 bit Timer1 for reading PPM. However the Servo library that writes the PWM signal also uses Timer1. 

Is it possible to generate a PWM signal with 8 bit / Timer2? And has someone made an example, or an explanation about, how to do that?

Tweeted twitter.com/StackArduino/status/784872503562891264
Source Link
betion
  • 115
  • 2
  • 6

write pwm with only 8 bit? (timer2)

i have a problem with the servo library. I need to read a ppm signal and create a pwm signal of each channel. The problem is that ppm has a higher resolution than pwm so i want to use the 16 bit timer1 for reading ppm. However the servo library that writes the pwm signal also uses timer1. Is it possible to generate a pwm signal with 8 bit / timer2? And did someone do an example or an explaination about how to do that?