In previous lessons we demonstrated how to vary the time value in a timer using three separate switches and some move instructions. In this lesson, we are going to accomplish the exact same task but using only a single switch.
We will run the conveyor for 5 seconds with the first press, then 7 seconds with the second press and finally 10 seconds with the third press. At any time, if the stop switch is pressed, we will need to start the timing cycles from the beginning.
Sometimes, when you have what seems like an insurmountable task to program, we have some advice as to how to tackle that frustration. Some simple strategies to help you pinpoint how to get started writing your logic. Let’s take a look at this lesson and get some simple advice.
In the previous lesson we discussed some ways in which to organize your thoughts and some advice on to how to tackle your program writing tasks.
In this lesson, we are going to expand on that advice and get started with the simplest portion of the program. We are going to discuss how we decid...
In the previous lesson we began with some simple timing logic and expanded the program a bit to include some things that we will need to keep track of our button presses. In this lesson, we continue with the logic, first adding some code to take care of the 7 seconds parameter.
After completi...
In the previous lesson we created the logic that correctly moved all of the preset timer values with the corresponding press of the button. What we were not able to do was repeat the cycle. In this lesson, we will run through the logic that we have created so far and discuss the dilemma of not be...
8 Comments