Commit Graph

4 Commits

Author SHA1 Message Date
kellerkindt 43d5e073b4 Fix buffer being overwritten by multiple twi_transmit calls
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.
2016-06-05 03:01:57 +02:00
Paolo Paolucci 7b2f6fc028 Fix Wire register
Move TWBR register from Wire.cpp to twi.c file.
2016-03-09 15:47:55 -05:00
Sandeep Mistry aa710ab682 Move AVR Wire library utility folder under source 2016-03-04 17:11:56 -05:00
Alice Pintus 3ba80468d5 add src folder when missing 2016-03-02 14:45:57 +01:00