Hello,
first thank you to brownrb for its fantastic job. I would like to try MyFocuserPro 2 but I have some trouble uploading the firmware for the L298 driver, all the libraries seems to be correctly installed byt I get an error befor the upload.
Arduino : 1.6.4 (Windows 7), Carte : "Arduino Uno"
In file included from Focuserv254_L298N_M.ino:107:0:
HalfStepper.h:156: error: 'SteppingMode' is not a class or namespace
HalfStepper(dword, byte, byte, SteppingMode = SteppingMode::HALF);
^
HalfStepper.h:157: error: 'SteppingMode' is not a class or namespace
HalfStepper(dword, byte, byte, byte, byte, SteppingMode = SteppingMode::HALF,
^
HalfStepper.h:158: error: 'PhasingMode' is not a class or namespace
PhasingMode = PhasingMode::DUAL, SequenceType = SequenceType::ALTERNATING);
^
HalfStepper.h:158: error: 'SequenceType' is not a class or namespace
PhasingMode = PhasingMode::DUAL, SequenceType = SequenceType::ALTERNATING);
^
HalfStepper.h:221: error: 'SteppingMode' is not a class or namespace
SteppingMode _SteppingMode = SteppingMode::HALF;
^
HalfStepper.h:222: error: 'PhasingMode' is not a class or namespace
PhasingMode _PhasingMode = PhasingMode::DUAL;
^
HalfStepper.h:223: error: 'SequenceType' is not a class or namespace
SequenceType _SequenceType = SequenceType::ALTERNATING;
^
HalfStepper.h:226: error: 'Direction' is not a class or namespace
Direction _Direction = Direction::FORWARD;
^
Focuserv254_L298N_M:128: error: call to 'HalfStepper::HalfStepper(dword, byte, byte, byte, byte, HalfStepperOptions::SteppingMode, HalfStepperOptions::PhasingMode, HalfStepperOptions::SequenceType)' uses the default argument for parameter 6, which is not yet defined
Focuserv254_L298N_M:128: error: call to 'HalfStepper::HalfStepper(dword, byte, byte, byte, byte, HalfStepperOptions::SteppingMode, HalfStepperOptions::PhasingMode, HalfStepperOptions::SequenceType)' uses the default argument for parameter 7, which is not yet defined
Focuserv254_L298N_M:128: error: call to 'HalfStepper::HalfStepper(dword, byte, byte, byte, byte, HalfStepperOptions::SteppingMode, HalfStepperOptions::PhasingMode, HalfStepperOptions::SequenceType)' uses the default argument for parameter 8, which is not yet defined
Focuserv254_L298N_M.ino: In function 'void setstepmode(int)':
Focuserv254_L298N_M:351: error: 'SteppingMode' is not a class or namespace
Focuserv254_L298N_M:355: error: 'SteppingMode' is not a class or namespace
Focuserv254_L298N_M:359: error: 'SteppingMode' is not a class or namespace
'SteppingMode' is not a class or namespace
Ce rapport contiendrait plus d'informations si l'option
"Montrer les informations de sortie pendant la compilation"
était activée dans Fichier > Préférences.
May be something with the stepper librairi.
A bit of help would be welcome.
Thanks.
Pascal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Pascal
You do not need to install any stepper library - the default one that comes with Arduino IDE is fine.
If you have any stepper library installed in the Documents\Arduino\libraries folder I suggest removing it.
Please remove your current Aruino version and download and install 1.6.8
Have you placed all the files in the same folder (eepromanything.h, Focuserv254_L298N_M.ino, HalfStepper.h, HalfStepper.cpp)
Have you enabled File-Preferences-Show Verbose Output during compilation
You didnt download the half stepper library and try to install that? If so remove it. You only need the two files on this site and they must be in the same folder as the Focuserv254_L298N.ino file.
Did you set the Tools-Board to Arduino Nano?
Attached is the focuser v255 l298n_M folder in a zip fle.
You do not need to load any libraries for this. Please do not edit any file. Try this with 1.6.8 and let me know what happens.
I would temporarily move the documents/Arduino/libraries contents to a temp location. Then remove 1.6.4 then install 1.6.8, then try to comple the attached file and send me the output list if it does not compile.
Also consider joining the yahoo group as there are people there who can assist, as well as all the latest versions
Hi Robert,
thank you very much, it works with your new file, I corrected the others versions with the temperature probe and lcd and all are ok with the l298.
Regards.
Pascal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
first thank you to brownrb for its fantastic job. I would like to try MyFocuserPro 2 but I have some trouble uploading the firmware for the L298 driver, all the libraries seems to be correctly installed byt I get an error befor the upload.
Arduino : 1.6.4 (Windows 7), Carte : "Arduino Uno"
In file included from Focuserv254_L298N_M.ino:107:0:
HalfStepper.h:156: error: 'SteppingMode' is not a class or namespace
HalfStepper(dword, byte, byte, SteppingMode = SteppingMode::HALF);
^
HalfStepper.h:157: error: 'SteppingMode' is not a class or namespace
HalfStepper(dword, byte, byte, byte, byte, SteppingMode = SteppingMode::HALF,
^
HalfStepper.h:158: error: 'PhasingMode' is not a class or namespace
PhasingMode = PhasingMode::DUAL, SequenceType = SequenceType::ALTERNATING);
^
HalfStepper.h:158: error: 'SequenceType' is not a class or namespace
PhasingMode = PhasingMode::DUAL, SequenceType = SequenceType::ALTERNATING);
^
HalfStepper.h:221: error: 'SteppingMode' is not a class or namespace
SteppingMode _SteppingMode = SteppingMode::HALF;
^
HalfStepper.h:222: error: 'PhasingMode' is not a class or namespace
PhasingMode _PhasingMode = PhasingMode::DUAL;
^
HalfStepper.h:223: error: 'SequenceType' is not a class or namespace
SequenceType _SequenceType = SequenceType::ALTERNATING;
^
HalfStepper.h:226: error: 'Direction' is not a class or namespace
Direction _Direction = Direction::FORWARD;
^
Focuserv254_L298N_M:128: error: call to 'HalfStepper::HalfStepper(dword, byte, byte, byte, byte, HalfStepperOptions::SteppingMode, HalfStepperOptions::PhasingMode, HalfStepperOptions::SequenceType)' uses the default argument for parameter 6, which is not yet defined
Focuserv254_L298N_M:128: error: call to 'HalfStepper::HalfStepper(dword, byte, byte, byte, byte, HalfStepperOptions::SteppingMode, HalfStepperOptions::PhasingMode, HalfStepperOptions::SequenceType)' uses the default argument for parameter 7, which is not yet defined
Focuserv254_L298N_M:128: error: call to 'HalfStepper::HalfStepper(dword, byte, byte, byte, byte, HalfStepperOptions::SteppingMode, HalfStepperOptions::PhasingMode, HalfStepperOptions::SequenceType)' uses the default argument for parameter 8, which is not yet defined
Focuserv254_L298N_M.ino: In function 'void setstepmode(int)':
Focuserv254_L298N_M:351: error: 'SteppingMode' is not a class or namespace
Focuserv254_L298N_M:355: error: 'SteppingMode' is not a class or namespace
Focuserv254_L298N_M:359: error: 'SteppingMode' is not a class or namespace
'SteppingMode' is not a class or namespace
Ce rapport contiendrait plus d'informations si l'option
"Montrer les informations de sortie pendant la compilation"
était activée dans Fichier > Préférences.
May be something with the stepper librairi.
A bit of help would be welcome.
Thanks.
Pascal
Hi Pascal
You do not need to install any stepper library - the default one that comes with Arduino IDE is fine.
If you have any stepper library installed in the Documents\Arduino\libraries folder I suggest removing it.
Please remove your current Aruino version and download and install 1.6.8
Have you placed all the files in the same folder (eepromanything.h, Focuserv254_L298N_M.ino, HalfStepper.h, HalfStepper.cpp)
Have you enabled File-Preferences-Show Verbose Output during compilation
You didnt download the half stepper library and try to install that? If so remove it. You only need the two files on this site and they must be in the same folder as the Focuserv254_L298N.ino file.
Did you set the Tools-Board to Arduino Nano?
Attached is the focuser v255 l298n_M folder in a zip fle.
You do not need to load any libraries for this. Please do not edit any file. Try this with 1.6.8 and let me know what happens.
I would temporarily move the documents/Arduino/libraries contents to a temp location. Then remove 1.6.4 then install 1.6.8, then try to comple the attached file and send me the output list if it does not compile.
Also consider joining the yahoo group as there are people there who can assist, as well as all the latest versions
Regards
Robert
Hi Robert,
thank you very much, it works with your new file, I corrected the others versions with the temperature probe and lcd and all are ok with the l298.
Regards.
Pascal
Hi Pascal
Good to hear all is now ok. The yahoo group does have all the firmware files for v255.
Regards