Skip to content

Conversation

kellerkindt
Copy link
Contributor

Fixes that more complex methods (like Stream::print(float)) do not work properly.

Without this fix, Wire.print(1.01f); results in '1' because Print::printFloat(double, uint8_t) performs multiple print() and therefore multiple twi_transmit calls. Also Wire.println("Heyho"); results only in a newline character.

Fixes that more complex methods (like Stream::print(float)) do not work properly.

Without this fix, Wire.print(1.01f); results in '1' because Print::printFloat(double, uint8_t) performs multiple print() and therefore twi_transmit calls. Also Wire.println("Heyho"); results only in a newline character.
@sandeepmistry sandeepmistry merged commit ab4e114 into arduino:master Jun 6, 2016
@sandeepmistry
Copy link
Contributor

@kellerkindt thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Library: Wire The Wire Arduino library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants