Program to output a triangle wave, Programming Languages

1.) Write a flowchart and program to do the following: A pressure sensor in a cooling system measures the pressure of the refrigerant and is connected to Port -1 of the 8051. If the 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 a flowchart and program to output a triangle wave by counting from OOH to FFH and then back down to OO Hagain and repeating this pattern and outputting this to Port-I which has a DAC connected to it. Assume no delay is to be added between the outputting of the numbers.

 

Posted Date: 3/19/2013 6:46:57 AM | Location : United States







Related Discussions:- Program to output a triangle wave, Assignment Help, Ask Question on Program to output a triangle wave, Get Answer, Expert's Help, Program to output a triangle wave Discussions

Write discussion on Program to output a triangle wave
Your posts are moderated
Related Questions

What are the main pros and cons of assembly programming language?

In this activity, you are going to place components on a sheet and connect them with virtual wires to create a simple digital circuit. You will simulate the circuit to verify the c

I need help getting started with a class project of creating a project in the Perl programming language. I was thinking of maybe doing an employee directory

How to do socket programming in C

At the core of DHTML is the Document Object Model, or DOM, which represents the HTML or XML of a Web page that is displayed in a browser. The Document Object Model that represents

Short Arrays: Array = randi(10,1,randi(6,1,1)+4)-5 This command will generate an array which you should be able to evaluate by hand (and also have your code evaluate for te

Write a function called withdraw (in the file 'withdraw.m') that simulates withdrawing money from a bank account. The function takes a single input argument, a positive scaler doub

Why is this correct/when is this the right idea

An apartment complex has several apartments to rent. The apartments are all similar, and all rent for $750 per month. Currently, all units are occupied. The management, being in bu