标题: MSP430单片机为啥全局变量老是自动清零,是中断的问题吗? [打印本页] 作者: 覃小bi 时间: 2019-3-31 18:25 标题: MSP430单片机为啥全局变量老是自动清零,是中断的问题吗? #include<msp430g2553.h>
#include <stdio.h>
int count=0;
int LED[4];
long fre;
//频率部分
unsigned char LED_0F[] =
{0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90,0x8C,0xBF,0xC6,0xA1,0x86,0xFF,0xbf};
// 0 1 2 3 4 5 6 7 8 9 A b C d E F -