Computer Science, asked by rajeshdave8186, 1 year ago

Write a program in c to get 16-bit data from port-d and send it to ports port-b

Answers

Answered by Anonymous
2
DDRD = B11111110; // sets Arduino pins 1 to 7 as outputs, pin 0 as input
DDRD = DDRD | B11111100; // this is safer as it sets pins 2 to 7 as outputs
// without changing the value of pins 0 & 1, which are RX & TX


I hope this will help you
if not then comment me
Similar questions