Write an assembly program that would control the pins of ATMega328P as the following: < if (R20 > 0): Pin 27 turn on (HI
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write an assembly program that would control the pins of ATMega328P as the following: < if (R20 > 0): Pin 27 turn on (HI
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)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!