|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: define irswitch?
We NOT our digital ins right there at the macro. Like what psy_wombats said, but I think that it reads better in the if statements. Digital inputs become false when the circuit is closed. =)
Code:
#define IRswitch1 !rc_dig_in01 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Define Happiness | Elgin Clock | Chit-Chat | 17 | 30-04-2007 21:59 |
| Define A Wedge | T3_1565 | Rules/Strategy | 18 | 11-01-2007 21:22 |
| Define FIRST | slickguy2007 | General Forum | 24 | 13-10-2006 08:24 |
| #define creation | NASAbound1636 | Programming | 3 | 02-02-2006 23:40 |
| Conditional #define Statements | Ian W. | Programming | 3 | 14-02-2004 18:14 |