I2CCmd() from Program Memory?

Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Post Reply
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

I2CCmd() from Program Memory?

Post by GTBecker »

I'm currently copying a character bitmap from Program Memory to a RAM var, then sending it via I2CCmd(). Can I2CCmd() (or I2CPutByte) directly address the bitmap in Program Memory?
Tom
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: I2CCmd() from Program Memory?

Post by dkinzer »

GTBecker wrote:Can I2CCmd() (or I2CPutByte) directly address the bitmap in Program Memory?
Neither can. However, you could read the data bytes from Program Memory and send them individually using I2CPutByte() together with other low-level I2C calls to form a complete I2C transaction.
- Don Kinzer
Post Reply