I'm trying to understand what this if statement is asking to be tru or not
if(bitRead(DCvalue[ch], chbit))
I'm not familiar with the comma expression.
Thanks
I'm trying to understand what this if statement is asking to be tru or not
if(bitRead(DCvalue[ch], chbit))
I'm not familiar with the comma expression.
Thanks
In this case the comma is separating the arguments of the bitread() function.
it tests IF/b] the CHBIT in element CHof array DCVALUE is set or not
a value of 0 => false
otherwise => true