I wanted to create some 2 line button labels, but inserting <br> in the text field results in an actual line break inserted in to the command text string. This is easy to work around by editing the text string command, removing the line break and adding the <br> token to the command.
Latest posts made by mile_hi_guy
-
Live Design Tool - <br> line break does not work as expected in text fieldsposted in Report Bugs
-
RE: Limited to 16 widgets on initializationposted in Frequently Asked Questions (FAQ)
You were right. I removed the previous BLE device and created the new one and everything now seems to be working as expected. I now have all 109 widgets on my main screen working and I am well into porting the milling machine controller code to the new GUI. Thanks a lot for your help. Hopefully it will be smooth sailing the rest of the way.
-
RE: Limited to 16 widgets on initializationposted in Frequently Asked Questions (FAQ)
@kl3m3n Thanks for your response. I copied the code you suggested, made the required changes/additions: (I changed lines 55 & 125 to use "String" instead of "std::string" & I replaced lines 9-12 with the first 37 widget strings of my UI design.) I loaded the code to my ESP32 and then tried to connect BLE from the GUI-O app and got error message "Invalid service error:"
I'm probably doing something wrong, but with my limited knowledge, I don't know what to try next. Suggestions?
-
Limited to 16 widgets on initializationposted in Frequently Asked Questions (FAQ)
I am in the process of porting my milling machine controller code and integrating it with the basicBLE example. The controller has a total of 60 functions and the GUI design uses around 130 widgets. I am porting the functions one at a time and it was going well until I got to the 8th function. The initialization sequence stops after displaying 16 widgets. I tried adding 100 ms and then 500 ms delays between sendMsg groups, but still only 16 widgets appeared. I added more widgets and commented out some of the previous ones, but no matter what combination I tried, only 16 widgets would appear. The code continues to work with the first 7 functions even when the remaining widgets fail to appear.
Any ideas? I'm not sure where to go from here.
-
RE: Ability to add comments to Live Design tool command listposted in Wishlist
@mile_hi_guy I also notice that the comments get inserted into the command string list preceded by back slashes (\ ) instead of forward slashes (// ). Was this the intent or was it an error?
-
RE: Ability to add comments to Live Design tool command listposted in Wishlist
Thanks for getting the "comment" feature added so quickly. I have added comments to each widget grouping in my UI design, and they make it much easier to navigate quickly to the correct widgets to modify when I want to make changes to the design. I have over 120 widgets on 2 layers so far in the main screen of my milling machine controller UI. This will save me a lot of time since I am sure I will be making many enhancements going forward over time.
It would be even better if each comment appeared after the word "COMMENT" in the box 2 list of commands as well. Hopefully that could be added without a large amount of effort.
I will definitely give GUI-O a positive review in the Google Play Store. I really didn't want to have to learn how to create Android apps in order to build the GUI for my controller. I probably would have stayed with my inflexible hard wired control panel instead.
-
RE: Trying to get Episode 8 running on an ESP32 S3 board with the latest Arduino IDE versionposted in Frequently Asked Questions (FAQ)
I finally got the Episode 8 app running just before I read the above reply. The easy part was following the Migration guide as pointed out.
This resulted in these changes to the app:
Changed the code at lines 56 & 104:
//*** old code ****** pTxCharacteristic->setValue(std::string(msg.c_str()));
pTxCharacteristic->setValue(String(msg.c_str())); //*** new code ****Changed the code at line 71
// motor control setup (speed, direction)
//*** old code **** ledcSetup(PWM_CHANNEL, PWM_FREQ, PWM_BITS);
//*** old code **** ledcAttachPin(enablePin, PWM_CHANNEL);
ledcAttach(enablePin, PWM_FREQ, PWM_BITS); //*** new code ****The hard part for me (should have been more obvious) was that the compiler was picking up the wrong header files. I did not realize that the 3.0 ESP32 Arduino library is included in the core loaded by the board manager. This was fixed by uninstalling the ESP32 Arduino BLE library using the library manager.
-
Trying to get Episode 8 running on an ESP32 S3 board with the latest Arduino IDE versionposted in Frequently Asked Questions (FAQ)
I am adding a GUI to a milling machine controller I designed and implemented last year using an ESP32 S3 development board. I have completed the initial UI design using the GUI-O Live Design Tool. Now I'm trying to get my S3 talking to the GUI-O app using BLE. I figured the best way to start was to get the Episode 8 example to run in my environment. I am trying to get the code to compile with the latest version of the Arduino IDE and ESP32 boards manager. I have resolved most of the compile errors (I hope), but I'm stuck on this one:
In file included from C:\Users\dave-\Documents\Arduino\guio_example_Bluetooth_LE\guio_example_Bluetooth_LE.ino:10:c:\Users\dave\Documents\Arduino\libraries\ESP32_BLE_Arduino\src/BLEDevice.h:12:10: fatal error: esp_gap_ble_api.h: No such file or directory
12 | #include <esp_gap_ble_api.h> // ESP32 BLE
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1Better yet, if a BLE example exists the is known to work with the current version of the Arduino IDE, I would love to have it.
-
Ability to add comments to Live Design tool command listposted in Wishlist
My design if fairly complex. It sure would be helpful to be able to add comments to the box 2 command list. It seems to me adding a "comment widget" object would be a fairly elegant and simple way to enable this. The comment lines could then be displayed in box 2 and the GUI-O command string box. The comments would then be stripped out when sent to the GIO-O app.
-
RE: Live Design Tool - Rectangular grid widget does not appear to support FGC parameter?posted in Report Bugs
Thanks, I look forward to the fix.
My design if fairly complex. It sure would be helpful to be able to add comments to the box 2 command list. It seems to me adding a "comment widget" object would be a fairly elegant and simple way to enable this. The comment lines could then be displayed in box 2 and the GUI-O command string box. The comments would then be stripped out when sent to the GIO-O app.