void CH375_WR_DATA() { unsigned char i; unsigned char data buffer[ 64 ]; CH375_WR_CMD_PORT( CMD_WR_USB_DATA7 ); for ( i = 0; i < 64; i ++ ) buffer[ i ] = 0xff; for ( i = 0; i <64; i ++ ) CH375_WR_DAT_PORT( buffer[ i ] ); P1=0x0d; Delay50ms( ); P1=0xff; }
以上是我寫(xiě)的向CH372緩沖區(qū)寫(xiě)入全0xff的程序,該程序在main()函數(shù)中調(diào)用,位置在初始化程序之后,請(qǐng)問(wèn)這個(gè)程序有什么問(wèn)題嗎??還有,還想請(qǐng)問(wèn)下高手,ch372中傳送的數(shù)據(jù)是什么格式的?。??