مايكرو نصفي 2020
مايكرو نصفي 2020
مايكرو نصفي 2020
Variable Address
Sum = 0;
A 0x100
A=5;
B 0x101
B=7;
Sum 0x102
Sum=A+B;
Q.5 [8 Marks] Referring to figure 1 below, carry out the following tasks:
b)Can ATMega328p control the two displays directly? Elaborate your answer.
Yes it can drive the display directly because it consists of 7 LEDs and the
microcontroller can provide the power requirement of LEDs.
d)Write ATmega328 instructions to show the last two digits of your matric number
on 7-seg. A and B and 7-Seg. B respectively.