Re: 請問有關PIC24F問題
|
||||
---|---|---|---|---|
版主
|
all<<=10; 就可以向左移10個位元。
程式執行完會跳離 main 函數,加個 while(1); 的迴圈控制
發表於: 2007/7/14 10:04
|
|||
|
Re: 請問有關PIC24F問題
|
||||
---|---|---|---|---|
資深會員
|
感謝版主回應!沒想到是我用錯啦!
不過我想請問,PIC24F系列有可一次左(右)移多的BIT的指令 若要在C語言上使用該如何使用呢? 還有我想請問,我編譯後出現的警告是什麼?
發表於: 2007/7/13 17:19
|
|||
|
Re: 請問有關PIC24F問題
|
||||
---|---|---|---|---|
版主
|
語法應為 : all <<=1;
發表於: 2007/7/13 15:23
|
|||
|