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
(a) Define a procedure called make-avl-tree which makes an AVL tree with one node. Also create another constructor build-avl-tree that creates an AVL tree from a root, left subtree

Define a Prolog predicate flatten(List, FlattenedList)  that asserts List  is any nested list of atoms and  FlattenedList  is the same list with the nesting removed. The atom [] sh

In this project, we have measured and compared the performance given by RTLinux, which is real time system with non-real time Linux operating system. Also, we have measured the

One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to  use for writing a Perl program tha

Question 1: a) Assume that B is an array of 50 words; write a code which will place the smallest integer of array B in register AX. b) Write a small code (only three instr

Can you please make my assignment in 3 days?I will pay you good

You must implement the control mechanism for the robot arm so that it can safely move the blocks from the source pile to their destination, without colliding with any obstacles or

Write a program to draw the truck following figure. The program should buttons to provide When the truck runs left wheels must rotate in the correct direction. Rotating whe

Of the 6,325 kindergarten students who participated in the study, almost half or 3,052 were eligible for a free lunch program. The categorical variable sesk (1 == free lunch, 2 = n

Example :  Solve the following differential equation. y (3)   -  12 y''+48 y' + 64 y = 12 - 32 e -8t + 2 e 4t Solution :    We first require the complementary solution