Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload p[roblems in Arduino Ide V1.89 #4

Open
RSZ-Nld opened this issue Jun 25, 2023 · 51 comments
Open

Upload p[roblems in Arduino Ide V1.89 #4

RSZ-Nld opened this issue Jun 25, 2023 · 51 comments

Comments

@RSZ-Nld
Copy link

RSZ-Nld commented Jun 25, 2023

Hello Paul,

Made the version 3 kicad new, but i can not upload the files, got all sorts of problems.
Do you have a bin file for me? Think that will be a lot easier.

Greetings

Rolf

@paulh002
Copy link
Owner

paulh002 commented Jun 25, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes i build the onme with the TCA 9548.
So i can not use that now, i have to wait for the software then.
I would like to test the the board, how can i test it ?

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Thanks for that, i like this project !

@paulh002
Copy link
Owner

You can find the bin files and source code in this repo https://github.com/paulh002/ESP32vfo

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes the bin file is working, but no touch ?
Screen is fine on my 3.2 Inch

@paulh002
Copy link
Owner

Can you measure if pin 11 of the TFT connects to IO0? I had an issue in the PCB, but I thought the version on github is corrected. But touch is using IO0 and should be connected to pin 11 of the TFT (T_CS)

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes pin 11 is connected with IO0

@paulh002
Copy link
Owner

I compiled for 2.4 inch, ILI9341 what display are you using?

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

O ok i use 3.2 Inch, see if i have a 2.4 Inch

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes ILI9341

@paulh002
Copy link
Owner

For what I can see it is the same driver. So it has to be a software issue. I now also have a test version running and have the same issue. I have to debug it. If I compare the code with an other project it should work. I will do some tests. You can also compile the project your self, but you need to download the libraries necessary like.

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes i try that but i did not succeed yey

@paulh002
Copy link
Owner

The new code I shared should compile with latest libraries. You can give it a try.

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes i updated the libraries, i try it again

@paulh002
Copy link
Owner

I think I found the issue, will upload it later today or tomorrow

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Ok nice, i got all kind of problems like:
GuiBinarySemaphore' was not declared in this scope
and
'class RotaryEncoder' has no member named 'isConnected'

All updated to the latest libraries now, i wait for the bin file then.

@paulh002
Copy link
Owner

I uploaded new version

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes that is working, but the touch screen is upside down, so i have at the top the touch for everything now.

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Only the touch

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Lsb is left top and Settings is Right top

@paulh002
Copy link
Owner

Ok, changed the Y for the touch. I also compiled with Arduino indeed a lot of errors. I am not using Arduino compiler. I use Visual Studio with Visual Micro extension (you have to buy for 25 Euro) But works very good. Have to check why it does not compile with normal Arduino IDE

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes now touch is perfect, thx ! Now i have to learn how i can give a Wifi in, now it is exit when i touch it. But this is a test file not complete yet?

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes i try that now, delete that files now and i will try that

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Yes did that Ide is at work now, takes a while.
But no problem it is all a hobby and you are doing a great job !
I like to thank you, when i compile i let you know if it has worked!

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Problems with LVGL now in Arduino IDE, that it the problem now, so that is work for a other time

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@paulh002
Copy link
Owner

paulh002 commented Jun 26, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Ok i wait for that then, thx.
I had V8.33 lvgl, but no luck

@paulh002
Copy link
Owner

image
In this configuration it compiles ok

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 26, 2023

Ok i will try it again tomorrow and let you know.

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 27, 2023

Try it again with all new in Libraries, but no luck, see:
IO.cpp:78:14: error: 'class RotaryEncoder' has no member named 'isConnected'
if (decoder.isConnected())
^~~~~~~~~~~
IO.cpp:87:10: error: 'class RotaryEncoder' has no member named 'setButtonPorts'
decoder.setButtonPorts(5, 4);
^~~~~~~~~~~~~~
gui.cpp:34:8: error: 'lv_disp_draw_buf_t' does not name a type; did you mean 'lv_draw_ctx_t'?
static lv_disp_draw_buf_t draw_buf;
^~~~~~~~~~~~~~~~~~
lv_draw_ctx_t

@paulh002
Copy link
Owner

paulh002 commented Jun 27, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 27, 2023

Done that, now i get this, but i have lvgl V8.3 and config file in scr but this problem i have now:
gui.cpp:34:8: error: 'lv_disp_draw_buf_t' does not name a type; did you mean 'lv_draw_ctx_t'?
static lv_disp_draw_buf_t draw_buf;
^~~~~~~~~~~~~~~~~~
lv_draw_ctx_t

@paulh002
Copy link
Owner

lv_disp_draw_buf_t is defined in lv_hal_disp.h in the lvgl library directory. The only reason that you get this error is that somewhere an older version on lvgl is found by arduino IDE. Make sure to remove all old lvgl directories. Lvgl versio 7.11 did not have this typedef

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 28, 2023

I think i have got it now, problem was the Arduino IDE V1.8.19 i downgrade it to V1.8.16 like you have and now it is working !
I got only a white screen, must be a mistake.
Compiling is now ok

@paulh002
Copy link
Owner

paulh002 commented Jun 28, 2023 via email

@paulh002
Copy link
Owner

paulh002 commented Jun 28, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 28, 2023

Ok thanks a lot for youre help !

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 28, 2023

Now it works fine, only the touchscreen is again upside down, what do i have to change for that?

@paulh002
Copy link
Owner

paulh002 commented Jun 28, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jun 28, 2023

Yes now it is working, thx ! I am glad that all is working now with Arduino IDE, but V1.8.19 is a problem i gues.

@paulh002
Copy link
Owner

paulh002 commented Jun 28, 2023 via email

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jul 2, 2023

Youre right, updated to V1.8.19 and it works !

@paulh002
Copy link
Owner

paulh002 commented Jul 2, 2023

Thats good!, Currently I am moving the support for this PCB to ESP32Vfo repository. I adding the TX Power and SWR meter at the moment. You need an SWR board you can find it in the swr-meter repo or use the original from Loftur E. Jonasson.

@RSZ-Nld
Copy link
Author

RSZ-Nld commented Jul 2, 2023

Ok nice, take a look at the SWR Meter !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants