Wednesday, October 22, 2008

Monday, 20th October

Planning to integrate system with Desmond's subsystem
-if a patient room is requested, will ON the system
-if patient room is done, OFF the system

Fixing the ON-OFF system programming
-always initialize on=0;
-use one port to do ON-OFF (RB0)
-if RB0==1, on=1; while on=1, system is working
-within the while loop, if RB0==0; on=0; breaks from the while loop

No comments: