Search found 1426 matches

by mnfisher
Fri Jun 20, 2025 10:28 pm
Forum: General
Topic: error or bug
Replies: 14
Views: 5191

Re: error or bug

That compiles okay for me - ran update first.

Anything changed on your machine (updated compiler / different target)

Martin
by mnfisher
Fri Jun 20, 2025 7:28 pm
Forum: General
Topic: error or bug
Replies: 14
Views: 5191

Re: error or bug

This happens if the function cannot be interrupted and then restarted. Common issues are use of global variables, hardware registers or (less likely here) static local variables. Calling routines that require some saved state from ISRs etc will cause issues and is not a good idea. Can you post a sni...
by mnfisher
Fri Jun 20, 2025 1:55 pm
Forum: General
Topic: Quick question on ESP32 pin selections
Replies: 4
Views: 1427

Re: Quick question on ESP32 pin selections

It seems to depend on the esp32 model. Generally it looks as though ADC readings will be either wrong (or blocked) but digital I/O should be okay. Newer variants seem to have less conflicts. If the WiFi (and Bluetooth) is disabled then they are available for use . I think, favour ADC1 in the first i...
by mnfisher
Fri Jun 20, 2025 12:59 pm
Forum: Bug Reports
Topic: ESP32 ADC not working
Replies: 22
Views: 3868

Re: ESP32 ADC not working

The code I posted on the previous page doesn't use the component - and should work correctly - however, it will take a bit of re-work in your code.
by mnfisher
Fri Jun 20, 2025 12:12 pm
Forum: Bug Reports
Topic: ESP32 ADC not working
Replies: 22
Views: 3868

Re: ESP32 ADC not working

Can you try the code on page 1 of this topic - check the output from UART (using PuTTY or similar) - it will let you know if the pin is available etc?

Martin
by mnfisher
Wed Jun 18, 2025 10:02 pm
Forum: General
Topic: Need to read...
Replies: 2
Views: 1006

Re: Need to read...

Take a look at https://www.pcbheaven.com/wikipages/Charlieplexing/

Has some info on buttons as well as LEDs..

Martin
by mnfisher
Tue Jun 17, 2025 2:13 pm
Forum: Bug Reports
Topic: ESP32 4Bit SD-Mode Init problem
Replies: 29
Views: 15463

Re: ESP32 4Bit SD-Mode Init problem

How fast is your device writing? How long does a sector take to write? I thought the 512kB/s I got was okay - but it's not really matching the cards potential...

Martin
by mnfisher
Tue Jun 17, 2025 7:42 am
Forum: General
Topic: PIC16F18877+GLCD ST7796
Replies: 13
Views: 2554

Re: PIC16F18877+GLCD ST7796

Will be interested to hear if you get it running in hardware! The warnings: Conversion of an integer to a pointer - it looks like the 'string' code uses an integer to hold a pointer - which is a useful trick at times. Ideally it should use a cast to remove the warning (or error on some compilers) Th...
by mnfisher
Sun Jun 15, 2025 9:14 pm
Forum: General
Topic: PIC16F18877+GLCD ST7796
Replies: 13
Views: 2554

Re: PIC16F18877+GLCD ST7796

An alternative would be to use the main display buffer - and not use a separate one in ClearDisplay...

Martin
by mnfisher
Sun Jun 15, 2025 7:27 pm
Forum: Bug Reports
Topic: ESP32 4Bit SD-Mode Init problem
Replies: 29
Views: 15463

Re: ESP32 4Bit SD-Mode Init problem

Just tested cranking up the priority of the separate task 'writer' - and it seems to work much more reliably - with a sector taking 1.3ms to write. I'd also reformatted the card (fully - not quick) - which solved the issues with overwriting files, and might also be something to do with the sped incr...