syntax error near unexpected(syntax error near amp quot amp quot)

摘要: 您好,今天小編胡舒來(lái)為大家解答以上的問(wèn)題。syntax error near unexpected,syntax error near amp quot amp quot相信很...

您好,今天小編胡舒來(lái)為大家解答以上的問(wèn)題。syntax error near unexpected,syntax error near amp quot amp quot相信很多小伙伴還不知道,現(xiàn)在讓我們一起來(lái)看看吧!

1、#include#includesbit s=P1^0;void main(void){ unsigned int a; while(1) { for(a=0;a<5000;a++) s=0; for(a=0;a<5000;a++) s=1; }}我想你是寫一個(gè)方波吧,編譯通過(guò)了的 。

2、寫的時(shí)候一定要注意P1^0的P一定要大些,所有符號(hào)都要在英文狀態(tài)下輸入。

本文就為大家分享到這里,希望小伙伴們會(huì)喜歡。