Writing flowchart and program to output the triangle wave


1) Write the flowchart and program to perform the following: A pressure sensor in a cooling system measures pressure of the refrigerant and is connected to Port -1 of the 8051. If pressure is greater than 200D, the controller is to set a high signal on Port-O, line-O; otherwise it is to be low. If the pressure is less than 45D then a high signal is to be sent on Port-O, line-1; otherwise it is to be low.

2) Write the flowchart and program to output the triangle wave by counting from OOH to FFH and then back down to OOH again and repeating this pattern and outputting this to Port-I which has a DAC connected to it. Suppose no delay is to be added between outputting of the numbers.

Request for Solution File

Ask an Expert for Answer!!
Other Engineering: Writing flowchart and program to output the triangle wave
Reference No:- TGS01911

Expected delivery within 24 Hours