標(biāo)題: main.c(19): error C141: syntax error near '}', expected 'hdata' [打印本頁(yè)]

作者: ylthpl    時(shí)間: 2023-3-4 15:44
標(biāo)題: main.c(19): error C141: syntax error near '}', expected 'hdata'
#include <REGX52.H>
#include"delay.h"
#include"matrixled.h"

void main()
{
       
       
        while(1)
          {
        matrixled_showcolumn(0,0x3c);
        matrixled_showcoulmn(1,0x42);
        matrixled_showcolumn(2,0xa9);
        matrixled_showcolumn(3,0x86);
        matrixled_showcolumn(4,0x86);
        matrixled_showcolumn(5,0xa9);
        matrixled_showcolumn(6,0x42);
        matrixled_showcolumn(7,0x3c);
   }
}       



作者: ylthpl    時(shí)間: 2023-3-4 15:45
我也沒少分號(hào)啊
作者: ldc2000    時(shí)間: 2023-3-5 00:06


作者: 暖西夏    時(shí)間: 2023-3-9 15:14
ldc2000 發(fā)表于 2023-3-5 00:06

看了好幾遍,才發(fā)現(xiàn)居然是打錯(cuò)了




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1