iam getting syntax errors whiel accessing bdata chat buff[10] i wrote the code as below to acces the array
char bdata buff[10]; sbit mybit4; unsigned int i=0;
for(i=0;i<=10;i++) { mybit4 = buff[i] ^ 4; buff[i]^4=(mybit4&buff[i]^4); }
Are you also known as "aparna pinnika"?
What was wrong with this thread? http://www.keil.com/forum/docs/thread10230.asp
i want to modify 4 th bit from every char in the array. tried in many ways but not getting the result. can u help me
This thread here contains the very same question, and some answers too:
http://www.keil.com/forum/docs/thread10230.asp