Search found 1423 matches

by mnfisher
Fri Jun 20, 2025 12:59 pm
Forum: Bug Reports
Topic: ESP32 ADC not working
Replies: 22
Views: 2498

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: 2498

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: 833

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: 14686

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: 2019

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: 2019

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: 14686

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...
by mnfisher
Sun Jun 15, 2025 7:09 pm
Forum: Tips & Tricks
Topic: PIC16F18877 Drag and Drop board. Programming made easy
Replies: 2
Views: 5541

PIC16F18877 Drag and Drop board. Programming made easy

To experiment with the PIC16F18877 - I recently got a neat board (the DM164142 - see https://uk.farnell.com/microchip/dm164142/mplab-xpress-eval-board-pic16/dp/2764484) This is rather neat for evaluation purposes - there is USB power and no need for a PICKit - programming is done by dragging and dro...
by mnfisher
Sun Jun 15, 2025 6:26 pm
Forum: General
Topic: PIC16F18877+GLCD ST7796
Replies: 13
Views: 2019

Re: PIC16F18877+GLCD ST7796

Out of interest - I took a look at the component for this - the 'offending' buffer is used in ClearDisplay - and as it is a local variable needs to be allocated on the stack - this has limited space (128 bytes). So - this gives a couple of options - one is to make the buffer global (which then alway...
by mnfisher
Sat Jun 14, 2025 8:17 pm
Forum: Bug Reports
Topic: ESP32 4Bit SD-Mode Init problem
Replies: 29
Views: 14686

Re: ESP32 4Bit SD-Mode Init problem

Writing to the card in the main loop seems to write much more rapidly - with a sector taking between 1 nd 9ms - and obviously no delay between writes - and writing 1000 sectors taking 1.05 s - which is better!