Hi all,
After some help tried everything but nothin seems to work !!
I have a development board with 6 led's RB0 - RB5 and 4 switches connected to RA0-RA3. Can do all sorts with RBx outputs but nothing with the switches on RAxx.
The switches go high to the pic when pressed as verified with a scope.
The PIC is 16f627 I have set PORTA to digital using the statement CMCOM=7
Also the button command does not seem 2 work either.
Starting to lose the plot with this - any help would be greatly appreciated. The compiler is Micro engineering labs pic basic pro ver 2.42
guess all i want 2 do is read ra0 if high switch on rb0 etc etc cant be hard can it
Thanks
Moz
Bookmarks