Skip to main content
Commonmark migration
Source Link

I need to interupt that communicaton for have a good management of lcd or if know a new library with best features. Thank's for help

This sounds like a classical X-Y problem. You have decided on a solution and asking about some "magic" functionality without understanding the library or how the I2C bus works.

It would be better to try to describe the original issue, investigate, propose and discuss solutions. Basically better understand the original issue.

Back to your question:

Wire.endTransmission()

does not really do what you think. It marks the end of a block to be transmitted (previous Wire.write()) and starts the actual transmission to the slave.

This is what the manual says:

Wire.endTransmission()

 

Description

 

Ends a transmission to a slave device that was begun by beginTransmission() and transmits the bytes that were queued by write().

I need to interupt that communicaton for have a good management of lcd or if know a new library with best features. Thank's for help

This sounds like a classical X-Y problem. You have decided on a solution and asking about some "magic" functionality without understanding the library or how the I2C bus works.

It would be better to try to describe the original issue, investigate, propose and discuss solutions. Basically better understand the original issue.

Back to your question:

Wire.endTransmission()

does not really do what you think. It marks the end of a block to be transmitted (previous Wire.write()) and starts the actual transmission to the slave.

This is what the manual says:

Wire.endTransmission()

 

Description

 

Ends a transmission to a slave device that was begun by beginTransmission() and transmits the bytes that were queued by write().

I need to interupt that communicaton for have a good management of lcd or if know a new library with best features. Thank's for help

This sounds like a classical X-Y problem. You have decided on a solution and asking about some "magic" functionality without understanding the library or how the I2C bus works.

It would be better to try to describe the original issue, investigate, propose and discuss solutions. Basically better understand the original issue.

Back to your question:

Wire.endTransmission()

does not really do what you think. It marks the end of a block to be transmitted (previous Wire.write()) and starts the actual transmission to the slave.

This is what the manual says:

Wire.endTransmission()

Description

Ends a transmission to a slave device that was begun by beginTransmission() and transmits the bytes that were queued by write().

Source Link
Mikael Patel
  • 8k
  • 2
  • 15
  • 21

I need to interupt that communicaton for have a good management of lcd or if know a new library with best features. Thank's for help

This sounds like a classical X-Y problem. You have decided on a solution and asking about some "magic" functionality without understanding the library or how the I2C bus works.

It would be better to try to describe the original issue, investigate, propose and discuss solutions. Basically better understand the original issue.

Back to your question:

Wire.endTransmission()

does not really do what you think. It marks the end of a block to be transmitted (previous Wire.write()) and starts the actual transmission to the slave.

This is what the manual says:

Wire.endTransmission()

Description

Ends a transmission to a slave device that was begun by beginTransmission() and transmits the bytes that were queued by write().