Write a cubloc basic programto read in four switches


Write a CUBLOC Basic program (Use BASIC language) to read in four switches connected to ports 32,33,34, and 35 into a byte called Readings. Next display the Readings in four separate bytes (P32,P33,P34, and P35) as a 1 or 0, depending on the switch state. Use Boolean operations to do this. Use a Do-Loop and Debug to continually display the state of the switches.

Request for Solution File

Ask an Expert for Answer!!
Mechanical Engineering: Write a cubloc basic programto read in four switches
Reference No:- TGS0729505

Expected delivery within 24 Hours