- UID
- 343999
- 性别
- 男
|
为什么我定义的代码数组影响到我的公共变量?
const unsigned char TempeData[66]=
{
0x25,0x24,0x23,0x22,0x21,0x20,0x19,0x18,
0x17,0x16,0x15,0x14,0x13,0x12,0x11,0x10,
0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,
0x01,0x00,0x01,0x02,0x03,0x04,0x05,0x06,
0x07,0x08,
0x09,0x10,0x11,0x12,0x13,0x14,0x15,0x16,
0x17,0x18,0x19,0x20,0x21,0x22,0x23,0x24,
0x25,0x26,0x27,0x28,0x29,0x30,0x31,0x32,
0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x40,
};/
程序单步运行的时候改变了我的全局变量,为什么呢?
我对MOTO的MCU的C,不是很清楚,望个位前辈指教! |
\',\'\'\'\',\'\'\',,,;,.\',\'\'\',,\',.╭⌒╮⌒╮\',\'\';;
⌒╮\'╭⌒╮⌒╮.宠辱不惊,看庭前花开花落;;
╱◥██◣\'\';\',,,,;\';\';\'\'\';,\'.\'\',\'\'\'\',\';;
︱田︱田田| ⌒╮去留无意,望天空云卷云舒;;
╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬ |
|