標(biāo)題: error C141: syntax error near 'RH', expected =1 Keil編譯錯(cuò)誤 [打印本頁(yè)]

作者: 苦逼機(jī)械人    時(shí)間: 2022-12-9 19:04
標(biāo)題: error C141: syntax error near 'RH', expected =1 Keil編譯錯(cuò)誤
不知道哪錯(cuò)了,還望大神們指點(diǎn)一二,謝謝  求指教。error C141: syntax error near 'RH', expected =1

mmexport1670583526491.png (33.12 KB, 下載次數(shù): 87)

mmexport1670583526491.png

mmexport1670583711428.png (401.52 KB, 下載次數(shù): 91)

mmexport1670583711428.png

作者: 人中狼    時(shí)間: 2022-12-9 22:21
同一個(gè)變量被定義了多種類型
作者: angmall    時(shí)間: 2022-12-10 11:11
變量名字不能有空格。

sbit Relay_RH=P1^0;
sbit Relay_RL=P1^1;
sbit Relay_TH=P1^2;
sbit Relay_TL=P1^3;






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