參數類型
|
||||
---|---|---|---|---|
新會員
|
在C18中若要傳遞的參數是某個腳位,參數類型為何?
例如: void main(void) { func1(PORTDbits.RD0); func1(PORTDbits.RD1); func1(PORTDbits.RD2); } func1(xxx pin) { . . . } 上面的xxx應該是什麼呢?
發表於: 2006/7/31 9:09
|
|||
|