Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Feedback LEDs on OI (http://www.chiefdelphi.com/forums/showthread.php?t=25835)

bstempi 22-02-2004 21:17

Feedback LEDs on OI
 
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

Re: Feedback LEDs on OI
 
did you deleat the assinments later on in the code? they could be overwriting your values


All times are GMT -5. The time now is 10:08.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi