I have read the reference library to try and understand this but they seem to be used in different context i though & was a bitwise and but in this case i dont understand what it means
return ((nunchuck_buf >> 1) & 1) ? 0 : 1
because i know what the code is trying to do i get what its doing but if it was used somewhere else wouldnt have an idea.
This code is from the wii nunchuck code. Its basically saying if the byte it 0 use 0 if 1 use 1.
Anyone know what these & and especialy the ? actually mean and where they can be used,