I'm still learning C18 and I was wondering if there was an easy to access a single bit of a variable. For instance if I have a "char variable" and I want to access bit 4, in SourceBoost I could just use "variable.4" and not have to use any masks. Is there an easy way to do that in C18?
It seems to be the fashion to make languages more and more convoluted. It is as though the people that know it and write the specifications are protecting their jobs. However, I am a cynical guy and I'm sure that is the real problem.
Thanks Mike, how did I miss that one. Works like a charm.
PS it's an IR LED tester for the Junebug, you put an IR LED on CON5 (RB3,GND) and it simply sends out a 40KHz signal (I'll lower it to 38) **broken link removed** PICkit2 2.5 Logic Anaylzer Tool **broken link removed**
The IR LED connected via cable to CON5