Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

EBS LAB ARM

while(1){

}
in setup inst get executed only once
in loop infinitely

whats a project?
8051 mc create project test, multiple directives
in subfolder, .asm files multiple can be written
in same project can like 2.asm to test, then 1.asm to test
cann pull one by one and in test and execute

create proj,attach main.cpp for every exp

EXP1- all arduino port pinds are addressed by


d0-d13
a0-a5
WAP where connect LED
anode is longer
cathode is shorter
coonnect it to 220 ohms resistor

1) WAP to blink LED


2) WAP switch
switch has 4 terminals, with pushbutton at center,
Before i press pushbutton which two terminals are connected already? after pressing
which ones get connected?
to test switch, what do we do?

attach switch in mid of breadboard (So they are not connected)


if on putting two multimeter pins of any two terminals of pushbutton
if it makes a sound, means its connected
on pressing push button, after we know that parallel lines are connected
we get short circuit

P2) give input to mc from switch, based on that turn on/off led
P3) WAP TO COUNT FOR 0-9
P4) WAP ON PUSING ONE SWITCH COUNT UP
THEN ON PUSHING SECOND SWITCH COUNT DOWN

You might also like