Habe jetzt meine beiden alten RC Dateien genommen - muss wohl noch an anderer Stelle noch etwas nachbessern...
Bin auf dem Weg - regnet eh in 20 Minuten und der Robbi kommt rein, bis dahin krieg ich's hin
D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp: In function 'void get_lin_PPM()':
rcmodel.cpp:18:19: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
18 | if (digitalRead(pinRemoteMow)==HIGH) PPM_start_lin = micros();
| ^~~~~~~~~~~~
| pinRemoteSteer
D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp: In member function 'void RCModel::begin()':
rcmodel.cpp:42:11: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
42 | pinMode(pinRemoteMow, INPUT);
| ^~~~~~~~~~~~
| pinRemoteSteer
In file included from D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\udpserial.h:14,
from D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\config.h:672,
from D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp:4:
D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp: In member function 'void RCModel::run()':
rcmodel.cpp:64:47: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
64 | attachInterrupt(digitalPinToInterrupt(pinRemoteMow), get_lin_PPM, CHANGE);// Interrupt aktivieren
| ^~~~~~~~~~~~
C:\Users\HP745g2\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.5\cores\arduino/Arduino.h:148:38: note: in definition of macro 'digitalPinToInterrupt'
148 | #define digitalPinToInterrupt(P) ( P )
| ^
rcmodel.cpp:71:47: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
71 | detachInterrupt(digitalPinToInterrupt(pinRemoteMow)); // Interrupt deaktivieren
| ^~~~~~~~~~~~
Bin auf dem Weg - regnet eh in 20 Minuten und der Robbi kommt rein, bis dahin krieg ich's hin
D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp: In function 'void get_lin_PPM()':
rcmodel.cpp:18:19: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
18 | if (digitalRead(pinRemoteMow)==HIGH) PPM_start_lin = micros();
| ^~~~~~~~~~~~
| pinRemoteSteer
D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp: In member function 'void RCModel::begin()':
rcmodel.cpp:42:11: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
42 | pinMode(pinRemoteMow, INPUT);
| ^~~~~~~~~~~~
| pinRemoteSteer
In file included from D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\udpserial.h:14,
from D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\config.h:672,
from D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp:4:
D:\Arduino\Sunray-master_follow_SB314i\Sunray-master_follow_working - 314interrupt\Sunray-master\sunray\rcmodel.cpp: In member function 'void RCModel::run()':
rcmodel.cpp:64:47: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
64 | attachInterrupt(digitalPinToInterrupt(pinRemoteMow), get_lin_PPM, CHANGE);// Interrupt aktivieren
| ^~~~~~~~~~~~
C:\Users\HP745g2\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.5\cores\arduino/Arduino.h:148:38: note: in definition of macro 'digitalPinToInterrupt'
148 | #define digitalPinToInterrupt(P) ( P )
| ^
rcmodel.cpp:71:47: error: 'pinRemoteMow' was not declared in this scope; did you mean 'pinRemoteSteer'?
71 | detachInterrupt(digitalPinToInterrupt(pinRemoteMow)); // Interrupt deaktivieren
| ^~~~~~~~~~~~