is there a PIN Array by default?
Posted: 21 Jul 2010 16:29
is there any quick way to access PINs except doing each on its owen?
like
for (i = 0; i < 6; i++)
RB_bit = 0xFF; ?
insted of
RB[1]_Bit = 0xFF;
RB[2]_Bit = 0xFF;
RB[3]_Bit = 0xFF;
RB[4]_Bit = 0xFF;
RB[5]_Bit = 0xFF;
........
i also tried to make a function to do that for me
but i couldnt decalre a bit array
bit arry[7];
compiler said "array of bit type objects is not allowed"
cheers;
like
for (i = 0; i < 6; i++)
RB_bit = 0xFF; ?
insted of
RB[1]_Bit = 0xFF;
RB[2]_Bit = 0xFF;
RB[3]_Bit = 0xFF;
RB[4]_Bit = 0xFF;
RB[5]_Bit = 0xFF;
........
i also tried to make a function to do that for me
but i couldnt decalre a bit array
bit arry[7];
compiler said "array of bit type objects is not allowed"
cheers;