My program uses the clock. Retrieves data from a list. Analyze my blocks to understand what the clock is doing. In your application you can also set up a sending list instead of reading it from text fields. Text boxes can only be used to edit the list.
So after starting the application, download the data from TinyDB to the list. Then from the list to the text boxes. After editing the text fields, save the data to the list and to TinyDB. After pressing start, download data from the list to form a message for BLE in the clock.
That's my problem I can not follow it's use!I DO NOT understand it,it seems simple on the surface but does NOT perform as I would expect it to. To abstract for my simple 90's brain!!!
ALSO, should I use maybe some other input for the timer setting? I mean beside a LISTBOX!.
Yeaks! this is relly dragging out way too long! I know I'm close that fact that it sees the last text box in the list and uses THAT value and actually counts it down tells me so.
Besides I understand the listbox. I understand it, i am using it for the file names and watering types but I just DO NOT want to use it for the timer values!. Please Patryk I implore you, show me what I am missing in the btn_Start routine.
Yeaks! Patrrk you completely wrote this from scratch. I will take me some time to digest this one.
Thank you.
Patryk I am having another issue. When I try to load the aia file my Illustrator wants to load it as a default reader. What is the default reader for the aia file and where can I find it? I am using an apple computer. Any idea?
There should be no reader for .aia files, unless you need to do surgery on them as a last resort.
Set your web browser to just save downloaded .aia files to disk without opening, then use the AI2 Project->Import facility to load the .aia file from disk as a new project.
I think we are getting closer Patryk. So what is the difference if the first column the relay is on all the time and the second column the relay is off all the time? That way you don't have to tell the user to type in the fact that it's on or off. And if the first and second column just indicate how long the relay is on or off? Is that an easy modification?
Also Patryk you are reconnecting every time to the relay board using the Service UUID and Character UUID is that the way to properly contact the Relay board. Is that incase it looses connection or just redundant?
I don't understand much what you mean.
(I do not speak English very well. I use google translator for the most part. The translator sometimes translates incorrectly and can therefore cause confusion.)
I guess what I am trying to say is column one you are forcing the user to indicate that the relay is ON or OFF. When they are trying to set the ON and OFF TIMES for each cycle. This can get confusing for them on which cycle they are trying to tweak with a long column and where all options are not completely visible to them . I can see the listbox has a great advantage over TextBoxes as you can conceivably have an infinite number of cycles. But why eliminate the need for the user to indicate if the relay needs to be ON or OFF. and not just put the ON and OFF TIMES side by side and maybe add the index number in front of it so the user knows what cycle they are working on.
The problem I see with a listbox is this: For instance cycle 3 and cycle 6 need tweaking the first on the ON time the second on the OFF time. Can you see how scrolling to the appropriate cycle could be confusing? Comparing that to having all cycles completely visible to them on and off times side by side on the same line. We already know that the Relay is always ON, on my layout in the first column and that the relay is always OFF in the second column it just a matter of specifying how much time for each.
I understand what you mean now. But why then the first column text fields? If the first cycle is ON, the next one is OFF and so on and on, what are the fields for?
In my opinion, the first column is redundant if it only serves to indicate which cycle is currently being executed. You can still run your application on the phone. Enter in the text fields sample data that will be entered and take a screenshot.
I think I understood. Your headlines above the columns are confusing. The first field is the relay ON time, the second field is the OFF time. After a switch-off time, it goes to the next cycle.