char Index;
int RATE[22]={0xB5,0x62,0x06,0x08,0x06,0x00,0xFA,0x00,0x01,0x00,
0x01,0x00,0x10,0x96,0xB5,0x62,0x06,0x08,0x00,0x00,0x0E,0x30};//数据更新速率为4HZ
for(Index=0;Index<22;Index++)
{
UARTCharPut(UART7_BASE,RATE[Index]);
UARTCharPut(UART5_BASE,RATE[Index]);
}
不能执行循环 |