Hi,
I have a small board using a 08M.
I read the signal coming from a RC radio receiver in one pin, using pulsein.
I control a RC servo from another pin.
If I use pulseout to control the servo, it runs fine. If I use servo + servopos, then the pulsein readings get a lot of noise. They change every time, even when the RC emitter is sending the same signal.
It doesnt seem to be a problem of electrical noise, since it happens wether the RC servo is connected or not.
It looks like servo is affecting the acuracy of pulsein a lot...
Any idea?
I have a small board using a 08M.
I read the signal coming from a RC radio receiver in one pin, using pulsein.
I control a RC servo from another pin.
If I use pulseout to control the servo, it runs fine. If I use servo + servopos, then the pulsein readings get a lot of noise. They change every time, even when the RC emitter is sending the same signal.
It doesnt seem to be a problem of electrical noise, since it happens wether the RC servo is connected or not.
It looks like servo is affecting the acuracy of pulsein a lot...
Any idea?