Ok, habs jetzt ohne Sichern des SREG. Danke!
Nein, beim Noise-Filter-Code verwende ich die Overlays nicht, da hier die Schleife einfach einfacher ist
Die Overlays werden nur im restlichen Programm verwendet, z.b. bei den darauffolgenden Zeilen:
Hm, also der Code wird so schnell wie möglich aufgerufen:Code:If Tmp1 > 61 And Tmp1 < 139 Then 'don't process values that can't be correct Stmp1 = Tmp1 - 61 Stmp1 = Stmp1 * 3 '==> values ranging from 3 (stick at bottom) to 228 (full throttle) End If 'Now nick, roll, yaw and idle up switch If Tmp3 > 61 And Tmp3 < 139 Then 'don't process values that can't be correct Stmp3 = Tmp3 - 100 'convert to values ranging from -37 to +37 End If If Tmp2 > 61 And Tmp2 < 139 Then 'don't process values that can't be correct Stmp2 = Tmp2 - 100 'convert to values ranging from -37 to +37 End If If Tmp4 > 61 And Tmp4 < 139 Then 'don't process values that can't be correct Stmp4 = Tmp4 - 100 'convert to values ranging from -37 to +37 End If If Tmp5 > 61 And Tmp5 < 139 Then 'don't process values that can't be correct Stmp5 = Tmp5 - 100 'convert to values ranging from -37 to +37 End If
Die Mixer-Sub beinhaltet den Noise-Filter Code. Meinst du den Filter-Code? Das werde ich gleich mal machen.Code:Do Acc Gyro Mixer Send_mots Led Voltage Failsave Guiconnection Loop End
Gruß
Chris







Zitieren

Lesezeichen