Re: Focuser for MaxEsp3


Seven Jones
 

can not activate the focuser because arduino ide make this error. What does it mean?

OnStep:162:27: error: 'Axis4_M2' was not declared in this scope
     tmcSpiDriver tmcAxis4(Axis4_M2,Axis4_M1,-1,Axis4_M0,AXIS4_DRIVER_SUBMODEL,AXIS4_DRIVER_RSENSE);
                              ^
OnStep:162:36: error: 'Axis4_M1' was not declared in this scope
     tmcSpiDriver tmcAxis4(Axis4_M2,Axis4_M1,-1,Axis4_M0,AXIS4_DRIVER_SUBMODEL,AXIS4_DRIVER_RSENSE);
                                    ^
OnStep:162:48: error: 'Axis4_M0' was not declared in this scope
     tmcSpiDriver tmcAxis4(Axis4_M2,Axis4_M1,-1,Axis4_M0,AXIS4_DRIVER_SUBMODEL,AXIS4_DRIVER_RSENSE);
                                                ^
C:\Users\digit\Documents\Arduino\OnStep\Initialize.ino: In function 'void initPre()':
Initialize:30:11: error: 'Axis4_M2' was not declared in this scope
   pinMode(Axis4_M2,OUTPUT); digitalWrite(Axis4_M2,HIGH);
           ^
exit status 1
'Axis4_M2' was not declared in this scope

Join main@onstep.groups.io to automatically receive all group messages.