Write an assembly program that would control the pins of ATMega328P as the following: if (R20 > 0): Pin 27 turn on (HIGH
Posted: Sat Feb 19, 2022 3:22 pm
Write an assembly program that would control the pins of ATMega328P as the following: if (R20 > 0): Pin 27 turn on (HIGH) Pin 28 turn off (LOW) else if (R20 < 0): Pin 28 turn on (HIGH) Pin 27 turn off (LOW) else: Pin 27 turn off (LOW) Pin 28 turn off (LOW)