Platformio Port#29
Conversation
|
We can use it as a start for platformio branch, but for me removing encoder in favor of buttons and merging everything to one file is no go for main branch. |
|
Yes, i'll change that. This is just my code as it is for now, i will continue working on this. |
|
Moving ESPAsyncWebServer from project libs to dependencies is not required, since we are using modified version of it |
|
@Saur0o0n Line 638 in b9da27c Here Load_program is called without any argument and it somehow compiles and works.And i have no problem compiling this code when everything is in one file and function is defined in main.h. But when i move it to different files - it trows an error: to few arguments. Should this function be called here without an argument? |
|
This function (and others) are define in .h file - it has default value defined, so if it's called without argument it assumes it. `/* uint8_t Cleanup_program(uint8_t err=0); |
|
Thanks, i missed this moment |
…iables from main.h to main.cpp
|
So, i managed to move all LCD related stuff to LCD.h and LCD.cpp files, just like in original arduino project. But it's not completely ideal (at least it compiles) and I need some assistance with this. |
Fixed PIO port pull request.
So, that's a straightforward port to platformio. All .ino contents are copied to main.c, all PFP added to main.h.
Also, encoder is replaced with buttons, encoder code is commented out.
Things to do initialy: