Hi,
I want to introduce the EDIT widget to enter float values.
I want to use it in two different ways.
1. Altering the value with the aid of a rotary encoder.
-> Therefore I use the EDIT widget in Float Mode. ->works like expected
2. Altering the value with the aid of a keyboard.
-> If the user presses any numerical button on the keyboard the input method of the widget should change and behave like an ordinary character input widget until the user presses the enter button.
Therefore I think the GUI_EditFloat() function may be suitable, but I haven't found any example using this function.
Is the function GUI_EditFloat() able to provide the functionality which I want to achieve in 2. ?
If yes, can you provide an example how to use this function?
If no, can you give me an advise how to implement the desired functionality?
Thank you
regards
Thomas
I want to introduce the EDIT widget to enter float values.
I want to use it in two different ways.
1. Altering the value with the aid of a rotary encoder.
-> Therefore I use the EDIT widget in Float Mode. ->works like expected
2. Altering the value with the aid of a keyboard.
-> If the user presses any numerical button on the keyboard the input method of the widget should change and behave like an ordinary character input widget until the user presses the enter button.
Therefore I think the GUI_EditFloat() function may be suitable, but I haven't found any example using this function.
Is the function GUI_EditFloat() able to provide the functionality which I want to achieve in 2. ?
If yes, can you provide an example how to use this function?
If no, can you give me an advise how to implement the desired functionality?
Thank you
regards
Thomas