August 2010
Intermediate to advanced
288 pages
13h 21m
English
There is often more than one way to solve a problem, with each solution having its own advantages and disadvantages. One disadvantage of the Timer1 program is that it uses one of the three timers, so you’ll need to use a different approach if your program uses all three timers for other tasks. The Timer2 program presented in this section demonstrates an alternative way to build a programmable timer.

Figure 10-22. The Timer2 program
Using data wires and a Compare block, you can control the number of times a Loop block repeats. By putting a Wait Time block inside a Loop block, you can control the length of time the program ...
Read now
Unlock full access