enable Micro C i/o as digital using pic18f442
时间:04-07
整理:3721RD
点击:
Hi,
Just a quick one. i want to use port d as my input and suppose i write a code like this
trisd=1;
FYI, im using micro and and the pic im using is pic18f442.
how can i write a code whereby i want to use portd pin d0 as a digital input?
let say if im using port d pin d0 to turn on portb pin b0?
Just a quick one. i want to use port d as my input and suppose i write a code like this
trisd=1;
FYI, im using micro and and the pic im using is pic18f442.
how can i write a code whereby i want to use portd pin d0 as a digital input?
let say if im using port d pin d0 to turn on portb pin b0?
