Hi Bob hope you are well?
getting a few errors compiling this.
first one is in Controller_Data.h typo there is an L instead of a ;
// attempt to load board config file [FOCUSER] immediately
// after a firmware reprogram
void Start(void)l
bool LoadConfiguration(void);
bool LoadBoardConfig(String);
void SetFocuser_Defaults(void);
which I can fix ok obs
second one is this below which I cant find where its supposed to be declared or if its a typo?
C:\Users\Dave\Downloads\myfp2esp32DevF_322_02\myFP2E32Dev_322_02\driver_board.cpp: In member function 'void DRIVER_BOARD::setstepmode(int)':
C:\Users\Dave\Downloads\myfp2esp32DevF_322_02\myFP2E32Dev_322_02\driver_board.cpp:1109:5: error: '_stepmode' was not declared in this scope; did you mean 'setstepmode'?
1109 | _stepmode = smode;
| ^~~~~~~~~
| setstepmode
exit status 1
Compilation error: '_stepmode' was not declared in this scope; did you mean 'setstepmode'?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Bob hope you are well?
getting a few errors compiling this.
first one is in Controller_Data.h typo there is an L instead of a ;
// attempt to load board config file [FOCUSER] immediately
// after a firmware reprogram
void Start(void)l
bool LoadConfiguration(void);
bool LoadBoardConfig(String);
void SetFocuser_Defaults(void);
which I can fix ok obs
second one is this below which I cant find where its supposed to be declared or if its a typo?
C:\Users\Dave\Downloads\myfp2esp32DevF_322_02\myFP2E32Dev_322_02\driver_board.cpp: In member function 'void DRIVER_BOARD::setstepmode(int)':
C:\Users\Dave\Downloads\myfp2esp32DevF_322_02\myFP2E32Dev_322_02\driver_board.cpp:1109:5: error: '_stepmode' was not declared in this scope; did you mean 'setstepmode'?
1109 | _stepmode = smode;
| ^~~~~~~~~
| setstepmode
exit status 1
Compilation error: '_stepmode' was not declared in this scope; did you mean 'setstepmode'?
Hi Dave
There is another update soon
I will take a look and post an interim fix tommorrow
Any chance of sending me your config.h file?
Robert
controller_data.h
line 29 change to
void Start(void);
driver_board.h
insert a new line after line 151 byte _ledmode;
the new line 152 is
int _stepmode = 1;
that fixed the compile error cheeers