Skip to main content

CS 609 Assignment # 2 2016 idea solution

 CS609 Assignment Idea Solution



#include // special function register declarations
// for the intended 8051 derivatives bit LED = P2^0; // Defining LED pin
void Delay(void); // Function prototype declaration
void main (void)
{
while(1) // infinite loop
{
LED = 0; // LED ON
Delay();
LED = 1; // LED OFF
Delay();
}
}
void Delay(void)
{
int j;
int i;
for(i=0;i<10;i++) { for(j=0;j<10000;j++) { } } }

Comments

Popular posts from this blog

CS401 Assignment#1 Solution Spring 2018

Assignment No. 1 Graded Semester Spring 2018 Computer Architecture and Assembly Language Programming– CS401 Total Marks: 15 Due Date: 10/05/2018 Question: 1                                                                                                                                        [15...

MGT 602 Quiz #1 Solve

GT-602 Solved Quiz # 1 Question # 1 of 15 ( Start time: 11:15:51 AM )   Total Marks: 1   Government can help in forming new venture by providing:   Select correct option:     Finance   Technology   Infrastructure   Subsidiaries Question # 2 of 15 ( Start time: 11:16:50 AM )   Total Marks: 1   The entrepreneur was distinguished from capital provider in:   Select correct option:     18th century   17th century   19th and 20th century   Middle ages