-
Notifications
You must be signed in to change notification settings - Fork 2
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
Comments
Hello,
I don't know exactly what you have built, but to build a bin I need some
more information.
Did you build the version with the TCA 9548? Because for that one I did
not share the software yet.
The version in github is older and relies on older versions of libraries
(included in the library directory).
I have an updated version but not yet shared, because some screens are not
yet fully migrated to the latest version of lvgl v8.x
Regards,
Paul
Op zo 25 jun 2023 om 17:33 schreef RSZ-Nld ***@***.***>:
… 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
—
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUEWFQ5572OKRYCOIS3XNBK5NANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Yes i build the onme with the TCA 9548. |
I will build a version, and upload it later today
Later I will share the code (beta version)
Op ma 26 jun 2023 om 09:52 schreef RSZ-Nld ***@***.***>:
… 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 ?
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUEAM7XXEQU3X5QU5ULXNE5U7ANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks for that, i like this project ! |
You can find the bin files and source code in this repo https://github.com/paulh002/ESP32vfo |
Yes the bin file is working, but no touch ? |
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) |
Yes pin 11 is connected with IO0 |
I compiled for 2.4 inch, ILI9341 what display are you using? |
O ok i use 3.2 Inch, see if i have a 2.4 Inch |
Does not matter, do you know the driver for the 3.2 inch?
Op ma 26 jun 2023 om 14:57 schreef RSZ-Nld ***@***.***>:
… O ok i use 3.2 Inch, see if i have a 2.4 Inch
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUCIYQKCPVOXPE7UOVTXNGBMLANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes ILI9341 |
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. |
Yes i try that but i did not succeed yey |
The new code I shared should compile with latest libraries. You can give it a try. |
Yes i updated the libraries, i try it again |
I think I found the issue, will upload it later today or tomorrow |
Ok nice, i got all kind of problems like: All updated to the latest libraries now, i wait for the bin file then. |
I uploaded new version |
Yes that is working, but the touch screen is upside down, so i have at the top the touch for everything now. |
Is everything upside down or only touch?
Op ma 26 jun 2023 om 16:14 schreef RSZ-Nld ***@***.***>:
… Yes that is working, but the touch screen is upside down, so i have at the
top the touch for everything now.
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUCGLJS3XNTFVHW6B6LXNGKK5ANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Only the touch |
Ok, seems to be different for 3.2 inch. Are both X and Y swapped? Or only Y?
Op ma 26 jun 2023 om 16:31 schreef RSZ-Nld ***@***.***>:
… Only the touch
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUDPHCPR2GHMAM4R6GDXNGMLDANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Lsb is left top and Settings is Right top |
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 |
You should be able to compile when you delete the files smeter.cpp smeter.h
wifigui.cpp and wifigui.h
These files I did not update yet for lvgl version 8, that's why they give
problems. This is still work in progress.
Also I switched off the bandpassfilter in the code. It is using a serial
chip to communicate. Currently I use I2C for this.
But updating the smeter, should not be so difficult I already did it for an
other project I did.
Op ma 26 jun 2023 om 16:39 schreef RSZ-Nld ***@***.***>:
… Lsb is left top and Settings is Right top
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUHVSRMHHDR4QUFVH33XNGNJXANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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? |
Yes i try that now, delete that files now and i will try that |
If you can compile you can add wifi credentials in the ino file. Also
change R.wifi_onoff = false; to true
This is still work inprogress due to the major update of lvgl from 7 to 8.
They changed a log of calls.
I was not so active with this upgrade because of all the work on the sdr
transceiver.
Op ma 26 jun 2023 om 17:00 schreef RSZ-Nld ***@***.***>:
… Yes i try that now, delete that files now and i will try that
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUB6OWTT7JFPAJUB7W3XNGPZ3ANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes did that Ide is at work now, takes a while. |
Problems with LVGL now in Arduino IDE, that it the problem now, so that is work for a other time |
You should choose version 8.3.3. in the library manager for lvgl
Op ma 26 jun 2023 om 17:14 schreef RSZ-Nld ***@***.***>:
… Problems with LVGL now in Arduino IDE, that it the problem now, so that is
work for a other time
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUG2UOT6OT7ICMBL6ALXNGRNBANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I will send a message when I have a complete version.
The files Rotaryconroler1.cpp and .h can be removed
(the font files you need)
Op ma 26 jun 2023 om 17:14 schreef RSZ-Nld ***@***.***>:
… Problems with LVGL now in Arduino IDE, that it the problem now, so that is
work for a other time
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUG2UOT6OT7ICMBL6ALXNGRNBANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Ok i wait for that then, thx. |
Ok i will try it again tomorrow and let you know. |
Try it again with all new in Libraries, but no luck, see: |
I added a library directory in github.
Please replace the RotaryEncoder source files by the one here supplied.
Also in the library directory place lv_conf.h this files configures lvgl.
Also I made some changes and added the S meter. You can download all source files and try to compile
Op di 27 jun 2023 om 11:59 schreef RSZ-Nld ***@***.***>:
… 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
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUF632KKJBDAIMS25ELXNKVHHANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Done that, now i get this, but i have lvgl V8.3 and config file in scr but this problem i have now: |
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 |
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 ! |
Ok, the white screen can be because of the settings in
TFT_eSPI\User_setup.h enable the #define ILI9341_DRIVER and set the pin
numbers to:
#define TFT_MISO 32
#define TFT_MOSI 25
#define TFT_SCLK 18
#define TFT_CS 5 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST 4 // Reset pin (could connect to RST pin)
//#define TFT_RST -1 // Set TFT_RST to -1 if display RESET is connected
to ESP32 board RST
#define TOUCH_CS 0 // Chip select pin (T_CS) of touch screen
Op wo 28 jun 2023 om 12:36 schreef RSZ-Nld ***@***.***>:
… 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
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUFBI5P3TRINPNJZ7JLXNQCLBANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I am moving the functions from the old VFO to the newone, for questions you
can use the discussions page on ESPVFO32 repo.
Op wo 28 jun 2023 om 12:36 schreef RSZ-Nld ***@***.***>:
… 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
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUFBI5P3TRINPNJZ7JLXNQCLBANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Ok thanks a lot for youre help ! |
Now it works fine, only the touchscreen is again upside down, what do i have to change for that? |
void my_touchpad_read(lv_indev_drv_t* indev_driver, lv_indev_data_t* data)
{
uint16_t touchX, touchY;
bool touched = tft.getTouch(&touchX, &touchY, 600);
if (tft.getRotation() == 1)
{
touchX = screenWidth - touchX;
//touchY = screenHeight - touchY; // only for 3.2 inch
}
if (!touched)
{
data->state = LV_INDEV_STATE_REL;
}
else
{
data->state = LV_INDEV_STATE_PR;
/*Set the coordinates*/
data->point.x = touchX;
data->point.y = touchY;
}
}
remove the comment for touchY
Op wo 28 jun 2023 om 12:55 schreef RSZ-Nld ***@***.***>:
… Now it works fine, only the touchscreen is again upside down, what do i
have to change for that?
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUF4PHQTVES72VGW2K3XNQEQHANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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. |
Maybe in the process of downgrading the old library is removed (maybe
cached). I guess when you upgrade to 19 again it will be ok.
But it does not matter so much, if 1 works ok stay on that version.
Op wo 28 jun 2023 om 13:31 schreef RSZ-Nld ***@***.***>:
… 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.
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOBYUGTS23SWYF7MOGAYHDXNQIYFANCNFSM6AAAAAAZTG4YMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Youre right, updated to V1.8.19 and it works ! |
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. |
Ok nice, take a look at the SWR Meter ! |
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
The text was updated successfully, but these errors were encountered: