|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Testing for bits in EasyC
my team wants to use the USB chicklet with the x-box360 controller
in the FIRSTwiki it explains how to test an individual bit in MPLab I would like to make sure that code like the following is supported in EasyC #define BUTTON_5 ((~p1_wheel &0x80)!=0) I think it should work but there might be some obscure reason why it might not Confirmations with reasons or denials would be great! Thank you in advance! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Almost ready for testing | Doug G | Robot Showcase | 4 | 04-02-2006 18:49 |
| How do i connect the camera for testing? | naor52 | Programming | 1 | 12-01-2006 01:11 |
| Testing Motor for Specs? | indieFan | Motors | 12 | 07-11-2004 18:36 |
| Budget OI/RC for testing | Racer26 | General Forum | 1 | 09-07-2004 21:15 |
| Tips for Sensor Programming and Testing | EricEnsor | Programming | 3 | 24-01-2003 11:28 |