Search found 1989 matches

by mnfisher
Thu Oct 01, 2026 7:08 am
Forum: General
Topic: TouchScreen Dial Keypad
Replies: 5
Views: 381

Re: TouchScreen Dial Keypad

I'm not at a computer - but.

Something like:

Add a macro Dial(string number)

Then in your loop - if (widgetoressed ==12) Dial(tmpstr)

In Dial (number)
.len = LengthStr$(.number)
if(.len != 7) Message("Invalid number - please enter 7 digits)
else
.msg = "Dialling " + .number
Message(.msg ...
by mnfisher
Tue Sep 29, 2026 4:15 pm
Forum: General
Topic: TouchScreen Dial Keypad
Replies: 5
Views: 381

Re: TouchScreen Dial Keypad

Glad it worked.

As to an error - depends how you want to handle it - for example you could ignore digits after 7 have been entered.

Or - better:

You could alert the user - display an error message (invalid phone number?) - similarly - if the user presses '#' before sufficient digits - display ...
by mnfisher
Mon Sep 28, 2026 8:19 pm
Forum: General
Topic: TouchScreen Dial Keypad
Replies: 5
Views: 381

Re: TouchScreen Dial Keypad

Assuming '#' is widget 12 - you have if widgetpressesd = 12 ... cmd = ATD876 + tmpstr.+ "\r\n" - which I'd guess does dial.

You perhaps want to add a check that tmpstr contains sufficient digits for a valid number (if (widgetpressed == 12) && (Length$(tempstr) == 7))) then dial...

or Length ...
by mnfisher
Mon Sep 28, 2026 9:03 am
Forum: Bug Reports
Topic: ESP32 UART interrupts
Replies: 1
Views: 148

Re: ESP32 UART interrupts

.. which explains why my EB3 experiments (with 2 UARTs) didn't work :-(
by mnfisher
Mon Sep 28, 2026 8:10 am
Forum: Bug Reports
Topic: ESP32 UART interrupts
Replies: 1
Views: 148

ESP32 UART interrupts

Not so much a bug as a 'gotcha'.

On most MCUs (at least AVR and PIC) - using a Rx interrupt on a UART the interrupt is UARTRXn where n is the channel number - 1.

On the esp32 - n is the channel number. This is, of course, much more sensible - but change for other devices might break many things ...
by mnfisher
Fri Sep 25, 2026 11:08 am
Forum: General
Topic: ESP32 S3 on two different computers same esp-idf
Replies: 3
Views: 648

Re: ESP32 S3 on two different computers same esp-idf

...

After editing the file using idf.py menuconfig - can you just copy the sdkconfig file from the project directory?

Haven't tested - but if you edit for a 'custom' config it would save doing it twice...
by mnfisher
Tue Sep 22, 2026 8:06 pm
Forum: Tips & Tricks
Topic: Working out why your ESP32 keeps resetting
Replies: 5
Views: 1192

Re: Working out why your ESP32 keeps resetting

It's a powerful beast... A while ago i posted about using a second esp32 as a bridge - but today I see that you can use it via a UART.
It allows single stepping (per line of code for example or s 10 ) breakpoints and a host of other features....
by mnfisher
Tue Sep 22, 2026 12:41 pm
Forum: Tips & Tricks
Topic: Working out why your ESP32 keeps resetting
Replies: 5
Views: 1192

Re: Working out why your ESP32 keeps resetting

Thanks Martin.

You can also use the 'reason code' to do different behaviours depending on reset reason.

The esp32 / espressif toolset has a lot of useful tricks.
For example - you can set the esp32 to run a gdb stub on a crash and then check it's state / single step via UART.

For example in ...
by mnfisher
Mon Sep 21, 2026 12:24 pm
Forum: Projects - Embedded
Topic: Esp32-p4 10.1in MIPI DSI Display Mandelbrot/Julia
Replies: 2
Views: 1041

Re: Esp32-p4 10.1in MIPI DSI Display Mandelbrot/Julia

Hi Ben,

Yes - I got a Waveshare device from China a while back - and very nice, although I've not had much chance to play with it :-( Hopefully they are onto the revised silicon with 400MHz capability now.

Martin
by mnfisher
Mon Sep 21, 2026 10:56 am
Forum: Projects - Embedded
Topic: Esp32-p4 10.1in MIPI DSI Display Mandelbrot/Julia
Replies: 2
Views: 1041

Esp32-p4 10.1in MIPI DSI Display Mandelbrot/Julia

I have an esp32-p4 and for a while I've attempted to get the MIPI DSI display (interface) working with the 10.1in display. Recently I finally cracked it :-)

I used the esp32-s3 fcdx file - I've just noticed that Martin has posted a guide to the fcdx file - so I might attempt a real 'p4' one - but ...