中级会员
 
- 积分
- 233
- 金钱
- 233
- 注册时间
- 2017-3-23
- 在线时间
- 52 小时
|
for(t=0;t<3;t++)
{
for(r=0;r<5;r++)
{
if(Rx_ORDER_Buffer[0] == array_master_order[t][r]) //
{
array_value_current = array_value[t][r];
if(0 == t)
{
stPwm.amp = array_value_current;
}
else if(1 == t)
{
stPwm.freq = array_value_current;
}
else if(2 == t)
{
stPwm.width = array_value_current;
}
}
UsbUpLoardDataBuffer[t+r] = Rx_ORDER_Buffer[0];
}
}
?
各位大虾,我用st-link在线调试的时候,Rx_ORDER_Buffer[0]用watch1输入0x2x时总会出现这情况,但是输入0x1x时就不会,是怎么回事啊?哪位大虾能帮忙解释下,然后该怎么做才对?
|
|