This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求解问题: define is missing its parameter 'NAME[=value]'

百度翻译为;   定义缺少参数名称[=值]”    这个到底怎么搞啊/

  • 那个地方提示这个错误呢?贴出提示的代码部分,资料不足,无法分析。

  • #ifndef TARGET_IS_BLIZZARD_RB1

    #define TARGET_IS_BLIZZARD_RB1

     #endif

    #include"stdint.h"

    #include"stdbool.h"

    #include"LCDDriver.h

    " #include"LCDDriver.c"

     #include"inc/hw_memmap.h"

    #include "driverlib/rom.h" #include "driverlib/rom.h

    " #include"inc/hw_ints.h"

    #include "driverlib/interrupt.h"

     #include "inc/hw_gpio.h"

     #include "MenuFrame.h"

    #include "math.h"

    #include "MenuFrame.c"

     #include"TestConfig.c"

     

    #define PERIOD_TIME 12500 / 20

     #define ADC_BASE ADC0_BASE // 使用ADC0

     #define SequenceNum 3 // 使用序列3

    void Init_LCD_Show() {

     // 使能LCD  LCD_Enable();

     // 初始化LCD  LCD_Init();

     // 初始化LCD屏做清屏工作  LCD_ScreenClr();

    }

     int main(void){

    {

    Init_LCD_Show();

     Init_Test_DCDC_Boost();

     }

    while(1) {

     unsigned long ADC_ValueGet(uint32_t ui32Base, uint32_t ui32SequenceNum); Handler_ADCWheel(); Handler_Test_DCDC_Boost();

    Refresh_LCDView();

     } }

     

    LCD不显示电压电流值