问答

汇集网友智慧,解决技术难题

416112364

TA的家园币:137  

  • 扎原因扎结果

    //代码如下#include#include//#include//#include#include#defineSEG_BITSEL_PORTPORTD//位选端口#defineSEG_BITSEL_PORT_DIRTRISD//位选端口的方向寄存器#defineSEG_FONT_PORTPORTC//字形输出端口#defineSEG_FONT_PORT_DIRTRISC//字形输出端口的方向寄存器#defineDLY_MS67constcharSeg7TableN[]={0b11000000,0b11111001,0b10100100,0b10110000,0b10011001,0b10010010,0b10000010,0b11111000,0b10000000,0b10010000};//__CONFIG(FOSC_HS&WDTE_ON&PWRTE_OFF&BOREN_ON&LVP_ON&CPD_OFF&WRT_OFF&CP_OFF);//__CONFIG(XT&WDTDIS&LVPDIS);unsignedintg_ADRTable[12]={0,0,0,0,0,0,0,0,0,0,0};unsignedcharg_Count=0;bitOverFlag=0;//12位转换次数完成标志位清零;voiddelayms(intms);voidDisplayData(unsignedintiData);interruptISR(void){if(ADIE&&ADIF){ADIF=0;g_ADRTable[g_Count]=(((unsignedint)ADRESH)

  • Mplab 编译报错求解

    Lab mplab 编译

    2021-06-21 0