proyex
Newbie level 4
ccs read port
--------------------------------------------------------------------------------
Reading the compiler manual I can't find any instruction for reading the
entire port (for example reading the 8 bits of portb from b0 to b7)) at
same time. In PicBasic I made that with peek command to read the
entire byte, but in C I only find input pin command. So if i want to read 8
bits I must repeat 8 times this command, any suggestion? Thanks
thanks for any help
--------------------------------------------------------------------------------
Reading the compiler manual I can't find any instruction for reading the
entire port (for example reading the 8 bits of portb from b0 to b7)) at
same time. In PicBasic I made that with peek command to read the
entire byte, but in C I only find input pin command. So if i want to read 8
bits I must repeat 8 times this command, any suggestion? Thanks
thanks for any help