hello, can i know how the format that we can change bit by bit from byte.
let say,,
a=0b00000000
in decision making
if ( button1=1)
{bit 0 of a=1;}
if ( button2=1)
{bit 1 of a=1;}
if ( button3=1)
{bit 3 of a=1;}
anyone can help?
Users browsing this forum: No registered users and 30 guests