-->
Page 1 of 2

I2C write

PostPosted: Thu May 05, 2016 7:47 pm
by viscomjim
Is it possible to write more than one byte of data at a time using I2C.WRITE, like you can using SPI?

Re: I2C write

PostPosted: Thu May 05, 2016 7:56 pm
by chaeplin
edited.
No, not now.

viscomjim wrote:Is it possible to write more than one byte of data at a time using I2C.WRITE, like you can using SPI?

Re: I2C write

PostPosted: Fri May 06, 2016 2:23 pm
by viscomjim
I took a look at your link. I was asking if you could write more than one byte at a time using I2C with ESP8266BASIC using I2C.WRITE.

You can send multiple bytes using SPI in ESP8266BASIC, so I was curious if the same could be done with I2C?

Thanks!!!

Re: I2C write

PostPosted: Fri May 06, 2016 2:49 pm
by cicciocb
No,
for the moment only one byte at the time can be write.
If there is an interest, we could add a "multibytes" function like for SPI.
Let me know what is your target,in order to understand better the need.

CiccioCB