2004-04-26 12:30 AM
2011-05-17 02:35 AM
Hey everyone,
I was wondering anyone here has worked with motorola 4811 code at all. If so, I was wondering if anyone knew how to code a process like the following: The washing machine goes through a sequence of cycles. A. It fills with water until a sensor indicates the tub is full. B. It agitates the clothes for ten minutes. C. It drains the water until a sensor indicates the water is gone. D. It spins for four minutes. E. It fills with rinse water until a sensor indicates the tub is full. F. It agitates the clothes for five minutes. G. It drains the water until a sensor indicates the water is gone. H. It spins for four minutes. I. It stops and indicates completion. Thanks, Whitty2011-05-17 02:36 AM
Hello,
My advise to you for solvinging these type of problems, where the process is well defined and documented, is to use flow charts to reframe the flow( just reframe whithout any coding in mind) try with few test case if the flow chart works fine. BVasically define the problem logically. after this you can write code with littel ease.