Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
75 PR INT "VACUUM":<br />
80 VTAB 15: HTAB 1<br />
85 PR INT "DRYER";<br />
We suggest that you add these lines to your program if you plan<br />
go ahead with Experiment No. 7. You should test your program aft<br />
you add these lines.<br />
The hardware and the software used in this experiment will be<br />
used in the next experiment, so you should not dismantle your<br />
cuit, nor should you remove power to the computer.<br />
Purpose<br />
EXPERIMENT NO. 7<br />
INPUT PORT APPUCATIONS (i!)<br />
The purpose of this experiment is to show you how logical<br />
tions may be performed on data.<br />
Discussion<br />
This experiment will use ·AND operations, and they will be performed<br />
on the ON/OFF information from eight external "sensors."<br />
The conditions of these sensors will be used to trigger actions in<br />
computer.<br />
Step l<br />
The program used in this experiment is the same as the one used<br />
in Experiment No. 6. If it has not been completely entered into your<br />
computer, you must enter it and test it. If it has been entered and<br />
tested in the previous experiment, you may wish to check it against<br />
the following listing:<br />
5 HOME<br />
10 VTAB 8: HTAB 1<br />
15 PR INT "ACID PUMP";<br />
20 VTAB 9: HTAB 1<br />
25 PR INT "BASE PUMP";<br />
30 VTAB 10: HTAB 1<br />
35 PR INT "HEATER";<br />
40 VTAB 11: HTAB 1<br />
45 PR INT "MIXER";<br />
50 VTAB 12: HTAB l<br />
55 PR INT "FLUSH CYCLE";<br />
60 VTAB 13: HTAB 1<br />
65 PR INT "D ISHWASHER";<br />
70 VTAB 14: HTAB 1<br />
75 PRINT "VACUUM";<br />
80 VTAB 15: HTAB l<br />
85 PRINT "DRYER";<br />
400 H = 20: v = 8