M mproia Member Mar 12, 2009 #1 Can someone explain to me what the 0 after the readi2c command means in the following code line readi2c 0, (b0,b1,b2,b3,b4,b5,b6,b7) Thank you!
Can someone explain to me what the 0 after the readi2c command means in the following code line readi2c 0, (b0,b1,b2,b3,b4,b5,b6,b7) Thank you!
M manuka Senior Member Mar 12, 2009 #2 It's the start_address. Have you checked the I2C tutorial =>http://www.rev-ed.co.uk/docs/axe110_i2c.pdf ?
It's the start_address. Have you checked the I2C tutorial =>http://www.rev-ed.co.uk/docs/axe110_i2c.pdf ?
W westaust55 Moderator Mar 12, 2009 #3 i2c commands And even (heaven forbid) in the PICAXE Manual 2 at page 134 it states: READI2C location, (variable,...) - Location is a optional variable/constant specifying a byte or word address. - Variable(s) receives the data byte(s) read. Click to expand...
i2c commands And even (heaven forbid) in the PICAXE Manual 2 at page 134 it states: READI2C location, (variable,...) - Location is a optional variable/constant specifying a byte or word address. - Variable(s) receives the data byte(s) read. Click to expand...