Write a code in 8051 microcontroller assembly language to make two separate LEDs do work individual or blink together Details are attached
Assignment details:
https://www.dropbox.com/s/w4g7d9ezwpkpk23/Asn01-1.pdf?dl=0
Code example/guide:
https://www.dropbox.com/s/4mot8ed03bee0q0/Day4.pdf?dl=0
iPad
01:52
* 67%
<
:=
Asn01
ผ A
EE 354
Assignment 1
8051 Assembly Language
Assigned: August 28, 2017
Due: Sept. 6, 2017
Write an assembly language program that runs on the AT89C51CC03 board. Add two
LEDs to your board at P1.0 and P1.1 and add two push button switches to the board on
P3.6 and P3.7. All resistors are 1K.
P1.0-**
P3.7
P1.1 to
P3.6
Your program should do the following:
P3.7 switch P3.6 switch P1.0 LED P1.1 LED
open
open
off
off
open
closed
off
on
closed open
on
off
closed
closed
blinks blinks
The blink rate for the LEDs when both switches are closed should be about 10 times
second.
Bring your completed project to class on September 6 for an in class demo.
Turn in the following:
Cover sheet with your name, assignment number, and date turned in.
A hard copy of your commented assembly code.
1 of 1