#include #define SCL_H P1OUT |= BIT0 #define SCL_L P1OUT &= ~BIT0 #define SDA_H P1OUT |= BIT1 #define SDA_L P1OUT &= ~BIT1 #define SCL_Out P1DIR |= BIT0 #define SCL_In P1DIR &= ~BIT0 #define SDA_Out P1DIR |= BIT1 #define SDA_In P1DIR &= ~BIT1 typedef unsigned char uchar;