Re: 求助!!請問在C18在program flash建立table的方式??
|
||||
---|---|---|---|---|
初級會員
|
Ryang大大:
THX!! 我來試試看~~~感恩!!
發表於: 2010/1/15 17:55
|
|||
|
Re: 求助!!請問在C18在program flash建立table的方式??
|
||||
---|---|---|---|---|
版主
|
看一下 W401 C18 教材裡的第四章及第五章。
http://www.microchip.com.tw/modules/w ... glefile.php?cid=4&lid=236 利用 const rom unsigned char .... 的方式宣告就可以了。
#pragma romdata RomDataSpace=0x400 // 設定 romdata 起始位址在 0x400
發表於: 2010/1/15 10:23
|
|||
|
求助!!請問在C18在program flash建立table的方式??
|
||||
---|---|---|---|---|
初級會員
|
各位大大好:
我有一長串資料要呼叫同一個loop去執行輸出動作,之前使用每筆資料去call 這個loop function的方式,程式compiler後會非常的大,以至於塞不下program flash,所以想用建立table的方式來執行,請問要怎麼建立??
發表於: 2010/1/15 0:35
|
|||
|