A fork of AR8000
Dependents: Sumo_v2 Sumo_v2_Unstable Sumo_v2_RG13
Diff: AR8000.h
- Revision:
- 6:ce4f088d8111
- Parent:
- 2:5bb207fd97c5
- Child:
- 7:0b27bef14b0e
--- a/AR8000.h Sat Apr 14 14:25:26 2012 +0000 +++ b/AR8000.h Mon Apr 16 16:57:05 2012 +0000 @@ -9,7 +9,7 @@ void Fall##Ch()\ {\ int dT= Time.read_us() - LastRise[Ch];\ - if(dT > 900 && dT < 2200)\ + if(dT > 900 && dT < 2100)\ dTime[Ch]= dT;\ } @@ -31,6 +31,8 @@ volatile int dTime[8]; //Pulsdauer in us [1000...2000] public: + int RawChannels[8]; //Rohdaten [1000...2000] + //Die Steuerbefehle float Throttle; //0=Aus, 1=Vollgas float Aileron; //-1=Links, 0=Nichts, +1=Rechts