First I have to say that I am completely new to Processing as well as to this kind of programming at all. It is only about a week that I have started researching this as I have to create a graphical interface for reading out and inputting data into an Arduino project that I am about to realize. For the interface I have found the ControlIP5 library to be a really great and helpful resource.
For the time being I’m still mostly working on the “graphical” part of the interface (actual functionality and related questions ;-) will come in a short while). I will need one single window with lots of textfields, some dropdownlists, some textlabels and some buttons. So far I have the following questions (which might seem quite easy for advanced users ;-)
1. In all the textfields I need to display and to enter numeric values up to about 9-10 digits. For display AND FOR INPUT, I would like to do this RIGHT-JUSTIFIED with DOTS as separation between groups of 3 digits (like in 1.000.000, after having entered the 1 and the first 3 zeros, the dot should appear automatically, and so on). Also, for input only digits should be allowed and only digits between 2 extreme values. Will I have to somehow (how?) implement all this manually or can it be configured automatically with ControlIP5?
2. Is there a possibility to “drop” a dropdownlist upwards instead of downwards? ;-) I’m asking because some of the dropdownlists will be positioned at the bottom of the window where the contents can not be seen entirely anymore when they open. It would be great if in that case they could open upwards.
3. Is it possible to make a text on a button span over a few lines?
Thanks a lot for your help. Other questions might follow later ;-)
Hello,
To start, I have to say that I’m coming from Arduino and that I am TOTALLY AND ABSOLUTELY CLUELESS regarding the Processing language and philosophy in general and that I find it quite hard to get started in this completely new environment.
I have realized a small project on Arduino for which I would need to create one standard Windows screen (with standard buttons, fields, multiple selection fields (don’t know the exact term), …) in which I could display in fix defined fields about 20 numerical values sent via the serial Arduino interface. I would need to edit/modify these values (move from one field to the other, change values, …) and after that click a button to resend the modified values to the Arduino. Could anyone point me to some example code of how to realize such a graphical interface. I have no idea at all at the moment because I have absolutely no experience with programming such graphical interfaces. I would only need it for this particular purpose and I think that with some example code (how to generate standard windows buttons, selection list, how to move around, how to edit, …) I could probably succeed in getting this programmed.
So, if someone could point me to some example code ... THANKS A LOT in advance.