Search found 1098 matches

by Steve-Matrix
Sat Nov 09, 2024 10:48 am
Forum: Feature Requests
Topic: TypeConversions from FP16 to FP
Replies: 14
Views: 385

Re: TypeConversions from FP16 to FP

mnfisher wrote:
Sat Nov 09, 2024 8:46 am
Is it possible to call an external program?
There is an Inbuilt Function to call external DLLs which can be used in PC Developer.
by Steve-Matrix
Fri Nov 08, 2024 5:59 pm
Forum: Feature Requests
Topic: TypeConversions from FP16 to FP
Replies: 14
Views: 385

Re: TypeConversions from FP16 to FP

PC Developer doesn't use C code and so cannot use any supplementary code.
by Steve-Matrix
Fri Nov 01, 2024 10:52 am
Forum: General
Topic: ESP32 I'm having trouble lighting an LED with a simple button.
Replies: 7
Views: 387

Re: ESP32 I'm having trouble lighting an LED with a simple button.

A few other suggestions. You may have done all of these already, but I'm just trying to rule out some real basics and to isolate the issue. Does an LED flasher work? If it did, then the problem is specific to the switch. And how about accessing the i/o pins directly? That is, replace ReadState with ...
by Steve-Matrix
Tue Oct 29, 2024 4:29 pm
Forum: Projects - Embedded
Topic: USB Midi / USB Serial
Replies: 2
Views: 225

Re: USB Midi / USB Serial

I know nothing about Macs so can't really help. But a quick internet search pulled up the following that might be useful - either to you or to another forum user who might be able to help. https://apple.stackexchange.com/questions/49984/does-osx-have-a-hidden-device-manager-list-like-windows https:/...
by Steve-Matrix
Wed Oct 23, 2024 8:47 am
Forum: App Developer
Topic: WEB APP HTTP Protocol
Replies: 7
Views: 1169

Re: WEB APP HTTP Protocol

Your Fetch component is set to call the "SetGaugeValue" when a response comes back from your device. This has a single value as a parameter called .Data by default. You just need to pass this .Data value to the text label, and you need to do this in the macro that is being called when Fetc...
by Steve-Matrix
Tue Oct 22, 2024 9:06 am
Forum: Projects - Embedded
Topic: Desperate for Help!
Replies: 9
Views: 1107

Re: Desperate for Help!

Without me understanding your program in detail, I can't give specifics. When the interrupt macro is running, your main loop will be paused anyway. That's what happens when an interrupt is being serviced. But generally your program should be doing almost all of it's work in the main loop. If most of...
by Steve-Matrix
Mon Oct 21, 2024 3:46 pm
Forum: App Developer
Topic: WEB APP HTTP Protocol
Replies: 7
Views: 1169

Re: WEB APP HTTP Protocol

You could add a separate text label and set its text at the same time you set the value of the gauge.
by Steve-Matrix
Mon Oct 21, 2024 9:03 am
Forum: Projects - Embedded
Topic: Desperate for Help!
Replies: 9
Views: 1107

Re: Desperate for Help!

Say, I have the Nano Timer1 custom interrupt with freq. 20kHz. The interrupt time period will be 1/20kHz = 0.00005 seconds. As I understood correctly it will be a good idea to flag/stop the main loop and after 0.00005 seconds set the flag off and let the main loop work again? Is it correct? My poin...
by Steve-Matrix
Fri Oct 18, 2024 9:27 am
Forum: Projects - Embedded
Topic: Desperate for Help!
Replies: 9
Views: 1107

Re: Desperate for Help!

Glad you got it working, Mike. I just want to expand on something Martin has said as I think this is really important and a major source of problems. You attempt to print the time to the display in the interrupt handler - this is generally not a good idea - and if the display code uses interrupts wi...
by Steve-Matrix
Thu Oct 17, 2024 12:18 pm
Forum: App Developer
Topic: WEB APP HTTP Protocol
Replies: 7
Views: 1169

Re: WEB APP HTTP Protocol

Hi Ryan, Your best place to start is the "HTTP Comms Worked Example - Web Developer" in our Sample Projects page . Your embedded device would need to become a webserver and you would need to periodically call CheckSocketActivity in the main loop. Your main loop can also read the sensors an...