Search found 7 matches

by LEDesign
Wed Dec 10, 2025 2:39 pm
Forum: Bugs
Topic: device file transfer visualizer: filename size
Replies: 0
Views: 43904

device file transfer visualizer: filename size

Using the device file transfer visualizer to transfer files from the PC to ESP32 using littleFS format.

From 'device files' to 'local files' the filename is identical
From 'local files' to 'device files' to filename is truncated to (?) 15 bytes ('/' + 12 bytes + '/0').

In the ...
by LEDesign
Mon Jun 30, 2025 9:14 am
Forum: MegunoLink
Topic: Radio buttons: OnClickChangedSend behaviour
Replies: 2
Views: 218242

Re: Radio buttons: OnClickChangedSend behaviour

Short follow up:
to trap the command sent when the radio button "rName1" becomes unchecked, I added
!TCommandName [1 * rName1.CheckedAsByte] \r\n
The value of "rName1.CheckedAsByte" is then zero and can be identified in the code.

The checked radio button "rName2" has the equivalent command ...
by LEDesign
Sun Jun 29, 2025 10:14 am
Forum: MegunoLink
Topic: Radio buttons: OnClickChangedSend behaviour
Replies: 2
Views: 218242

Radio buttons: OnClickChangedSend behaviour

For Radio buttons, the communications: OnClickChangedSend allows a serial command to be sent.

This works correctly, in both directions. From (A) checked to unchecked and from (B) unchecked to checked.

This results in the same serial command being sent twice, whenever there is a change. The first ...
by LEDesign
Wed Sep 11, 2024 1:37 pm
Forum: Bugs
Topic: Compile error with ESP32 board definition
Replies: 2
Views: 286260

Re: Compile error with ESP32 board definition

Initial solution found:
There are two board managers available.
https://github.com/espressif/arduino-esp32 in the Arduino IDE as ESP32 by Espressif systems.
The Arduino board manager in the Arduino IDE as Arduino ESP32 boards by Arduino.

The latest version from Espressif Systems is V3.0.4 : This ...
by LEDesign
Tue Sep 10, 2024 2:14 pm
Forum: Bugs
Topic: Compile error with ESP32 board definition
Replies: 2
Views: 286260

Compile error with ESP32 board definition

Arduino IDE 1.8.19 or 2.3.2
MegunoLink@1.42
MPL version 1.37.24.151.530

I compiled the ESP32 example sketch BlinkRGB.ino using ESP32 board definitions. This compiled OK.

I then added : #include <MegunoLink.h> but no additional code.

The compiler returns (repeat info removed):
In file included ...
by LEDesign
Tue Jul 07, 2020 4:01 pm
Forum: MegunoLink
Topic: Using GetValue with the MLPUI Message Processor
Replies: 2
Views: 33808

Re: Using GetValue with the MLPUI Message Processor

Thanks Phil,
I looked at parsing the serial response. This works with the Arduino Serial.parseInt() command:

Turtle.GetValue(F("numTurtles"), F("Value")); // value of selected item
nn = Serial.parseInt();

The integer value returned in the variable nn. I've never had a reason to do this before so ...
by LEDesign
Wed Jun 17, 2020 1:05 pm
Forum: MegunoLink
Topic: Using GetValue with the MLPUI Message Processor
Replies: 2
Views: 33808

Using GetValue with the MLPUI Message Processor

Goal: read the UI NumericUpDown values to initialise the variables in Arduino Code

The NumericUpDown buttons allow an initial value to be set. The Properties:Communications allow a serial command to be sent, that sets a variable value on the Arduino. When the mouse is used to change the UI value ...