Log in

View Full Version : Feedback LEDs on OI


bstempi
22-02-2004, 21:17
Ok, here's my problem:

I'm playing with our banner sensors. the sensors are hooked up to digital input 1, 3, and 5. I know the hardware is functional because i can see the LEDs on it. What i tried to create was a quicke LED feedback without dashboard. In the bottom of user_routines.c resides the code for the OI LEDs. I added these lines of code:
Switch1_LED = !rc_dig_in01;
Switch2_LED = !rc_dig_in03;
Switch3_LED = !rc_dig_in05;

For somereason, I get no feedback. Any suggestions?
~BStemp

jacob_dilles
22-02-2004, 21:18
did you deleat the assinments later on in the code? they could be overwriting your values