Questions tagged [ui]

User Interface. Use this tag for designing a user experience of your project. This tag is often used with LCDs or with responsiveness, although it can have other uses.

Use this tag for designing a user experience of your project. This tag is often used with LCDs or with responsiveness, although it can have other uses.

UIs often determine the usefulness and simplicity of your sketch. For example, a "lagging UI" is like a slow computer: when you click something there is a short (or long) delay.

9 questions
9
votes
2 answers

How frequently do you need to poll UI buttons before they are perceived as laggy?

Whilst it is possible, and sometimes desirable, to use pin change interrupts to read the state of buttons, it is simpler to poll the state of buttons in loop(). This is a commonly used technique. If you loop() executes quickly enough, then button…
Cybergibbons
  • 5,420
  • 7
  • 34
  • 51
7
votes
4 answers

What design patterns can I use to handle user input and display updating?

I've used enough products with embedded microcontrollers and unresponsive UIs to know that it can make or break a product. Even a slight delay or lag between the button presses and the display updating, or button presses being ignored or double…
Cybergibbons
  • 5,420
  • 7
  • 34
  • 51
4
votes
1 answer

Is there GUI to flash a sketch with new variables?

I'm dabbling in a project and would like to add a feature, but I need some help from the community. My project returns a response from the wunderground api and lights an led based on the temperature in the response. I plan to enclose the circuits…
KidaStl
  • 41
  • 2
2
votes
0 answers

How should I make a UI for my arduino project?

It's easy enough to attach a display for displaying sensor data, but I'm wondering what the proper way is to have the user change variables using an user interface on the attached 2x16 display. The only library I found for this…
Plumpie
  • 121
  • 2
2
votes
1 answer

Is there a Arduino UI library that provides dialog box and button functionality at a minimum?

I have been looking at the Arduino TFT Library and it supports all the bits and pieces for making a simple display, but I am looking for something a little higher level that has primitive dialog box and button capability, and presumably, the ability…
Rich Maes
  • 253
  • 1
  • 3
  • 9
2
votes
2 answers

Using more than 8 digits using the sevseg library

I am using sevseg and i can't get more than 8 digits to work. I really need 15. Does somebody know what I can do to get this? Shown is the original example This is using Gabriel Staples example in the sevseg library: #include SevSeg…
klarson18
  • 29
  • 2
0
votes
1 answer

New Freak UI @Arduino IDE v2.3.6 - 2025/05/21

This shXt stop after I turn off the power, and bring Notebook back to home. @@"? No any configuratin changed, just power NB off and on. How this shXt happened, and how it solved !? No idea... Anyway, Thanks for anyone provide suggestion…
James
  • 11
  • 4
0
votes
1 answer

Arduino TFT Touch Screen Interface Only Returns One Button Option

I'm trying to create an arduino code that returns a value for the button that was pressed as the user choice. However, whichever button I press the only return is 2. Also, whenever pressing other buttons, button 2 is the one that seems to have been…
-1
votes
1 answer

Scroll LCD display connected to an Arduino Uno

I want to make some characters scroll left without affecting the first positions in each row of my LCD 16x2 screen. I have this code inside the loop so far: lcd .clear(); lcd.setCursor(17, 0); for (int i = 15; i > 0; i--) { lcd.print("x"); …
menislici
  • 117
  • 1