0% found this document useful (0 votes)
72 views5 pages

IES Practical - 5

This document contains a student's practical assignment submission for an embedded systems course. It includes a circuit diagram, code to count from 00 to 99 in ascending and descending order, and a screenshot of the output. The student's name, class, roll number, and date are provided at the top.

Uploaded by

JSGSOFFICIAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views5 pages

IES Practical - 5

This document contains a student's practical assignment submission for an embedded systems course. It includes a circuit diagram, code to count from 00 to 99 in ascending and descending order, and a screenshot of the output. The student's name, class, roll number, and date are provided at the top.

Uploaded by

JSGSOFFICIAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Introduction to Embedded Systems

Practical #5
Name Jeet save Division B
Class S.Y.B.Sc.IT Roll Number 21302E3007
Practical 5 Create a counter circuit which can count from 00-99 is ascending and descending order,
Date:
Circuit Diagram: Paste the Screenshot / Picture of the Circuit

Vidyalankar School of Information Technology


Code : Write the code(No screen shot)

Code for counter counting form 00 –99:

#include<reg51.h>
delay(unsigned int y)
{
unsigned int n;

for (n = 0; n < y; n++)


{
;
}
}

void main()
{
int a[10]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90};
int i,j;

while(1)
{
for(j=0;j<10;j++)
{
P2=a[j];
for(i=0;i<10;i++)
{
P3=a[i];
delay(30000);
}
}
}
}

Vidyalankar School of Information Technology


Output: Paste the Screenshot / Picture of the Output of the Circuit

Vidyalankar School of Information Technology


Vidyalankar School of Information Technology
Vidyalankar School of Information Technology

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy