Arduino IDE 0012 Alpha questions (newbie)

Bitwise AND in C is "&", bitwise OR is "|", bitwise XOR is "^" (caution: "^" is NOT exponentiation!!!)

(the similar logical operators are "&&" and "||")

if ( (UARTSTATUS & TXEMPTY) && tty->outcount > 0) {
  // send data to the uart
}