yun89708 / openlrs

Automatically exported from code.google.com/p/openlrs
0 stars 0 forks source link

Futaba switch issue of OpenLRS Rx #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Receiver code was protecting himself from wrong PPM values and only 
accepting 1000us-2000us signals.
But Futaba transmitters sending the signal between 800-2200us from switch 
channels.

I found the bug and update the code for 1.05.

old code
if ((temp_int>2000) && (temp_int<4000)) Servo_Buffer[i] = temp_int;

New code
if ((temp_int>1500) && (temp_int<4500)) Servo_Buffer[i] = temp_int;

Original issue reported on code.google.com by infoflyt...@gmail.com on 5 Jun 2011 at 1:00

GoogleCodeExporter commented 8 years ago

Original comment by infoflyt...@gmail.com on 5 Jun 2011 at 1:00