If PIND5 is high Add function () If PIND6 is high Subtract function() If neither is high
Fantastic news! We've Found the answer you've been seeking!
Question:
If PIND5 is high
Add function ()
If PIND6 is high
Subtract function()
If neither is high (make PIND7 view)
View Function()
How do you write this in ardunio (c++) programming?
Actually it for food tracker and we are using a switch that has three way one to add foods in the lists , the other how much food are used up and the third to view status of the lists. The input port for the Atmega 328p are PORTD5, PORTD6,PORTD7 and It's goes out to PORTB4, PORTB3 and PORTB2
Related Book For
Concepts of Database Management
ISBN: 978-111182591
7th edition
Authors: Philip J. Pratt, Joseph J. Adamski
Posted Date: