Hi, The code is given below.
void CSToOut(void) { static unsigned char data bSimulate[8] ; int I; for( I = 0 ;I < 8;I ++) { bSimulate[I] = 0x01 << I ; ComOutChar( bSimulate[I] ); } }
result: 00 00 00 00 00 00 00 00
why?
View all questions in Keil forum