Log in

View Full Version : More Digital I/O Help


RedOctober
28-01-2006, 11:36
Whats the difference between the rc_dig_inxx and the digital_io_xx variables? Thanks for any help.

Alan Anderson
28-01-2006, 17:32
digital_io_01 is a control bit that determines whether the pin is an input or an output. rc_dig_in01 is the actual value read from the pin. See the first few lines of User_Initialization() in user_routines.c for an explanation of how to use them.