Commit Graph

29 Commits

Author SHA1 Message Date
kellerkindt 753c717566 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 36ab53b80d Fix Wire register
Move TWBR register from Wire.cpp to twi.c file.
2016-03-09 15:47:55 -05:00
Sandeep Mistry a11ba6108a Move AVR Wire library utility folder under source 2016-03-04 17:11:56 -05:00
SimonePDA ae829f6ac5 Update library.properties 2016-03-03 19:13:25 +01:00
Alice Pintus 4ea9207559 add src folder when missing 2016-03-02 14:45:57 +01:00
Alice Pintus 2b1d8d6112 update sentences 2016-03-01 16:09:50 +01:00
Brent Wilkins bc6d0e7908 Fixed typo 2016-02-01 12:52:29 -07:00
Brent Wilkins 61d915c5a6 Update Wire.cpp
Removed implicit conversions from unsigned, to signed, back to unsigned.
2016-01-18 13:12:11 -07:00
per1234 7ace92deb3 Remove unused keywords from Wire libraries keywords.txt
These functions have been replaced by read() and write() since Arduino
1.0.
2015-11-28 17:56:21 -08:00
Sandeep Mistry aa0687e8c3 check TWWC (Write Collision Flag) bit after setting TWDR
as suggested by @earlyprogrammer in #2173, to ensure TWDR value is set
if there is a write collision
2015-10-22 16:33:00 +02:00
Sandeep Mistry 6562a2e3a6 release TWI bus right after stop or repeated start is condition
this resolves timing issues seen in #1477
2015-10-22 16:29:43 +02:00
Cristian Maglie 58afc395a0 Added categories to libraries
Fix #3812
2015-09-18 11:01:08 +02:00
Nate Williams 9c814d5b6d Wire (AVR): Fix bug with repeated START
Fix #66
2015-08-26 16:02:02 +02:00
Sandeep Mistry 6006322e35 implement Wire.end() for AVR core 2015-08-25 10:24:24 -04:00
Federico Fissore e883de8673 Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Matthew Lowe 61b20ce497 Support for repeated starts added to SAM Wire library
Additional interface method ported to avr for compatibility
Fix issue #2428.
2015-07-03 16:59:30 +02:00
Federico Fissore fc5bf9b654 Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 2015-05-20 17:10:06 +02:00
Federico Fissore 90c83646b7 Libraries bundled with cores will take the type of that core, instead of relying on an undocumented 'types' property. Fixes #2875 2015-05-19 12:24:11 +02:00
Arturo Guadalupi 1b7d50fd72 Fixes #2969:
This fixes the Wire examples that uses I2C reserved address (from 0 to 7) substituting them with 8 that is the first one available and that can be used.

I also modified the wire reference
http://www.arduino.cc/en/reference/wire
according to this fact.
2015-05-14 11:27:00 +02:00
Federico Fissore 5eb3830e68 LibraryManager: better type filtering 2015-03-27 14:51:19 +01:00
Fede85 518c5a0fad missing paragraph field in library.properties 2014-07-18 20:08:01 +02:00
Fede85 4fa3f300b7 modified sentences in library.properties files 2014-07-18 19:41:34 +02:00
Kristian Lauszus 955046c5ea Enable user to change the I2C clock frequency by calling setClock in the Wire library 2014-03-06 17:23:49 +01:00
Cristian Maglie 9a403664a6 Revert "Wire library to the 1.5 format"
This reverts commit a31857688bdc270ed65307755ff3b73ef4867982.
2013-11-15 12:54:59 +01:00
Fede85 9104bfc6f8 Wire library to the 1.5 format 2013-09-10 18:50:42 +02:00
Cristian Maglie 1d176775b2 Merged 1.0.5
Merge remote-tracking branch 'arduino/master' into ide-1.5.x

Conflicts:
	app/src/processing/app/Base.java
	build/shared/revisions.txt
	hardware/arduino/avr/cores/arduino/malloc.c
	hardware/arduino/cores/arduino/avr-libc/malloc.c
	hardware/arduino/cores/arduino/malloc.c
	todo.txt
2013-04-03 13:51:04 +02:00
Federico Fissore 61eace3a23 fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
Cristian Maglie 49d12c697e Pre-merge upstream Arduino 2012-05-22 11:23:47 +02:00
Cristian Maglie 6fa8a84983 Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform 2012-01-04 15:14:51 +01:00