Re: 請問: C30 C Compiler完後出現return type of `main' is not `int'?
|
||||
---|---|---|---|---|
初級會員
|
解決了是ADPCFG出了問題!
ADPCFG=0X00FF;即可!
發表於: 2005/3/24 12:38
|
|||
|
請問: C30 C Compiler完後出現return type of `main' is not `int'?
|
||||
---|---|---|---|---|
初級會員
|
使用Timer2中斷於ICD2模擬時可以成功的跳出中斷副程式,但是燒錄完後卻發生跳不出中斷副程式.
目前使用p30f2010 C30 C Compiler. compiler完後出現; PWM.c:128: warning: return type of `main' is not `int'. 我懷疑是不是少了讓中斷副程式回到主程式的指標, 不知到那可找到範例!
發表於: 2005/3/22 23:28
|
|||
|