如題..為什麼同樣一個程式..30F6014用C組譯器可以通過..而用30F2010就會出現以下的錯誤呢?
Lab1 Flash LED with timer delay.c:7:57: p30f2014.h: No such file or directory
Lab1 Flash LED with timer delay.c:12: error: syntax error before '&' token
Lab1 Flash LED with timer delay.c:12: warning: data definition has no type or storage class
Lab1 Flash LED with timer delay.c:13: warning: parameter names (without types) in function declaration
Lab1 Flash LED with timer delay.c:13: warning: data definition has no type or storage class
Lab1 Flash LED with timer delay.c:14: error: syntax error before '&' token
Lab1 Flash LED with timer delay.c:14: warning: data definition has no type or storage class
Lab1 Flash LED with timer delay.c:15: warning: parameter names (without types) in function declaration
Lab1 Flash LED with timer delay.c:15: warning: data definition has no type or storage class
Lab1 Flash LED with timer delay.c: In function `main':
Lab1 Flash LED with timer delay.c:31: error: `LATD' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:31: error: (Each undeclared identifier is reported only once
Lab1 Flash LED with timer delay.c:31: error: for each function it appears in.)
Lab1 Flash LED with timer delay.c:32: error: `TRISD' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:33: error: `TRISA' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:38: error: `T1CON' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:39: error: `TMR1' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:40: error: `PR1' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:48: error: `IFS0bits' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:51: error: `LATDbits' undeclared (first use in this function)
Lab1 Flash LED with timer delay.c:53: error: `PORTAbits' undeclared (first use in this function)
這是什麼問題呢...除了標頭檔要更換成30F2010.H外,linker檔要使用30F2010.gld,還有什麼需要注意的嗎?謝謝...