cancel
Showing results for 
Search instead for 
Did you mean: 

Motorola 4811 coding

ryanwhittling
Associate
Posted on April 26, 2004 at 09:30

Motorola 4811 coding

2 REPLIES 2
ryanwhittling
Associate
Posted on May 17, 2011 at 11:35

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,

Whitty
kapil
Associate II
Posted on May 17, 2011 at 11:36

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.