Creating a string with 3 buttons

Hi,
which is the best concept for a user interface with 3 buttons where the user need to type in a string?
In my menu there is an option where you need to write down the server's domain.
Should I store the single characters in an array or is there a better way to do that?

Your question is not easy to understand. Please give more detail and examples.

A domain name can be quite long. 3 buttons cannot really be used for this unless you get the user to enter a binary representation of the ascii code of each character 3 bits at a time. It is not very practical.
The serial monitor is one option. Another, depending on the board, is to run a local web server so the user can use a web browser to set such parameters.

Thinking about it further, if you could assume the user was quite fast with Morse code, you could get away with only one button!

timtailors:
which is the best concept for a user interface with 3 buttons where the user need to type in a string?

What's your plan for the buttons?- scroll up, scroll down, next character to the right?

I created a 3 button keyboard to set c strings which uses a 128x64 OLED display and tactile 3 buttons,
the code is attached to the videos description so just have a read through and see if you can work out to write your own or adapt it to your program. 3 button keyboard

I created a 3 button keyboard to set c strings which uses a 128x64 OLED display and tactile 3 buttons,

+1

HI,

thanks KawasakiZx10r. Your example looks really great and helped me! I'm trying to understand your code as I've not used namespace before but looks smart.