I know this is not much of a avr question, but I hoped someone could shed some light.
I want to get my two ints to be hex.
static void switchBit( int a, int b)
//add a and b for make a binary string.
//a=1 and b=0 should be 10 ( 0x2 )
bits = /* my result from above */
PORTC |= ~bits;
I tried using char and adding chars and I'm not find a simple clean way to do this. Maybe there is not one, not sure. Still new to all of this, but learning.