array[16]如何轉換城array1[8]、array2[8]?
|
||||
---|---|---|---|---|
新會員
|
pic18會從rf端收進16byte的data,我將之宣告array[16]。
然後先將前八個byte送入i2c,然後再送後八個byte。 除了 for(i=0;i<=7;i++) { swwriteri2c(array[i]); swack(); } 這方法外,是否還有透過指標的方式的更有效率的方法? 小弟我太久沒寫code了,希望有大大能指點我。
發表於: 2007/11/8 1:45
|
|||
|