Search found 125 matches

by jollybv
Tue Jun 07, 2022 2:45 pm
Forum: General
Topic: XPT2041 & SPI Conflict
Replies: 11
Views: 3041

Re: XPT2041 & SPI Conflict

Hi Ben

Is the below code what you mean as I have tried it and does not work
XPT2046.PNG
XPT2046.PNG (46.83 KiB) Viewed 2167 times

SPI Max6675.PNG
SPI Max6675.PNG (26.61 KiB) Viewed 2167 times
by jollybv
Tue Jun 07, 2022 2:09 pm
Forum: General
Topic: RTC_ESP32_NTP1
Replies: 6
Views: 1664

Re: RTC_ESP32_NTP1

Hi Ben

Thanks the time is working like a dream.
by jollybv
Mon May 30, 2022 4:11 pm
Forum: General
Topic: RTC_ESP32_NTP1
Replies: 6
Views: 1664

Re: RTC_ESP32_NTP1

Hi guys I have just downloaded the RTC_ESP32 example from the above thread and it does not seem to want to compile. I have done a full library update with no luck (I'm using the ESP_32 WROOM instead of the Loin32 lite selected in the example). I'm getting 2 error's ../main/esp-project.c:230:15: erro...
by jollybv
Sat May 28, 2022 9:51 am
Forum: General
Topic: RTC_ESP32_NTP1
Replies: 6
Views: 1664

Re: RTC_ESP32_NTP1

Thanks Martin

Copping and saving with .fcfx worked but it wont compile just get error the only thing I have don is change the esp device to the esp 32 wroom so no idea why this simple example wont compile.
RTC Compile fail 1.txt
(25.27 KiB) Downloaded 68 times
ESP32_RTC_NTP_Example.fcfx
(14.37 KiB) Downloaded 65 times
by jollybv
Sat May 28, 2022 7:43 am
Forum: General
Topic: RTC_ESP32_NTP1
Replies: 6
Views: 1664

RTC_ESP32_NTP1

Hi Guys

I'm looking for an example on how to use the ESP Real Time Clock component. I have been to the wiki help page and the download example is not downloading it just opens and shows you the code

https://www.flowcode.co.uk/wiki/index.p ... _(Storage)
by jollybv
Fri May 27, 2022 7:26 am
Forum: General
Topic: XPT2041 & SPI Conflict
Replies: 11
Views: 3041

Re: XPT2041 & SPI Conflict

Hi Ben I have tried to do both SPI devices in software with no luck. If I read the max6675 in software mode then at 18° it reads 43° if I read the max6675 chanel 1 SPI it reads correct but only reads once. My last option would be to write to the register that controls the SPI. How do i do that? Plea...
by jollybv
Tue May 24, 2022 8:53 am
Forum: General
Topic: XPT2041 & SPI Conflict
Replies: 11
Views: 3041

XPT2041 & SPI Conflict

Hi Guys Having a little bit of an issue with the initialization of the XPT2046 & the SPI component if I initialize the XPT2046 before the SPI then the SPI works and XPT2046 dose not work. I am get this message when booting the ESP32 not sure if it is relevant. (411) spi: spi_bus_initialize(628): SPI...
by jollybv
Fri May 20, 2022 3:30 pm
Forum: General
Topic: ESP32 GPIO Interrupt
Replies: 10
Views: 2653

Re: ESP32 GPIO Interrupt

Thanks Ben
For all your help I can now move on have a great weekend.
by jollybv
Fri May 20, 2022 3:20 pm
Forum: General
Topic: ESP32 GPIO Interrupt
Replies: 10
Views: 2653

Re: ESP32 GPIO Interrupt

Hi Ben

The x y problem is solved, In the test program I noticed that I was sending the x value to the y when printing to the UART
I will try work around the interrupt problem for now.
by jollybv
Fri May 20, 2022 2:00 pm
Forum: General
Topic: ESP32 GPIO Interrupt
Replies: 10
Views: 2653

Re: ESP32 GPIO Interrupt

Hi
I have trid to poll the ReadTouch macro in the while loop every second just to test with out the interrupt but the X & Y coordinates are still the same