[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

Some questions about the Designer ... RSS feed
Forum Index » tcMenu Designer UI
Author Message
GoranP


Joined: Feb 5, 2022
Messages: 9
Offline
Hello
I'm using the latest version of the Designer program, and have some "issues" and questions. When running the "prepare diagnostics" I got following info.
tcMenu diagnostics - stream STABLE
TcMenuDesigner Version - 2.2.7
Plugin versions:
core-display - 2.2.7
core-remote - 2.2.7
core-themes - 2.2.7
Library versions:
tcMenu - 2.2.7
LiquidCrystalIO - 1.4.1
TaskManagerIO - 1.3.1
IoAbstraction - 2.1.1
Diagnostics END

1. Problem to enter values for pins in the "generte code" window
It means for example when I select a rotary encoder and enter my pins numbers, after generating the code so is it the old preset values there. I've tried to press Ctrl-S, exit the input pin fields with Tab or Enter but mostly it will not use my entered values. My solution have bin therefore to exit the Designer, open the the emf-file in NotePad++ and manually enter the correct numbers. After that I can open the file again in the Designer and create the code.

2. U8g2-display not in list
I have a display with SSD1327 driver and 128x128 pixels. It works perfect when I use the example file "PrintUTF8.ino" from U8g2 examples, and select U8G2_SSD1327_EA_W128128_F_SW_I2C .
But this choice do I not find in the list in the Designer. How should I proceed ?
If I select custom U8G2, then am I not able to select the pins for the display..

davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
For 1 - I'll check into that and do some testing myself, thanks for reporting. I'll try exiting fields in different ways and ensure the values are saved. There are quite a few automated UI tests around this but they nearly always simulate using the mouse.

For 2 - See the U8G2 plugin docs, when you use custom, then you generate the variable in your own sketch code, and just tell the plugin what name you've used. https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/tcmenu-plugins/u8g2-renderer-plugin/#manual-configuration
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
I can't recreate the situation for 1. What platform are you using the designer on, and is there a particular setup that it doesn't work for?
GoranP


Joined: Feb 5, 2022
Messages: 9
Offline
Ok. I'm using the Designer in my Windows computer, running Windows 11 Pro.
I'm using ESP32 and the Arduino Ide, the latent V1.8.xx.

Tomorrow afternoon I make a new check, to see more specific where and when this problem occur.
GoranP


Joined: Feb 5, 2022
Messages: 9
Offline
So, I made new test's, and every time I do this the problem occure that the Designer "forget" my entered pin numbers.
I attach a zip-file to this message with a complete new project I made for test and showing my problem. It is made for a ESP32 and editor Arduino IDE 1.8.57.0
At the same time making this test project, I made a pdf-file with text and screendumps to describe what happends when, etc. I hope that gives you some clue's ...
Let me know if you need more info..
 Filename Test_Designer_2.zip [Disk] Download
 Description No description given
 Filesize 1213 Kbytes
 Downloaded:  378 time(s)

GoranP


Joined: Feb 5, 2022
Messages: 9
Offline
Just want to add a notice to my message from yesterday.
If I start a new project in Designer, it create the code, etc, with my selected display, encoder etc, but "forgets" the pin numbers I have entered.
But if I once again try to genereate code, with same selected hardware setup, but jus adjust the pin numbers to my vaules, then it works correct.
One way to workaraund this is to make it possible to use the save command with Ctrl-S.
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Thanks for this, I've not been around for a few days. I'll try and do some more testing soon and feedback here.
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
I've found the bug. It was actually quite subtle and difficult to track down.

What happened is that when any plugin was changed, there was code to try and default any new properties that were added, but it ended up defaulting them all. I've added a check that will prevent re-defaulting if the property has changed in any way whatsoever.
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Thanks again for helping out with such detailed fault reports, it really helped me to track down the problem.
 
Forum Index » tcMenu Designer UI
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.