aboutsummaryrefslogtreecommitdiff
path: root/libraries
AgeCommit message (Collapse)Author
2016-06-05Fix buffer being overwritten by multiple twi_transmit callskellerkindt
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-04-05Update SoftwareSerial.cppBradley Luke Totaro
2016-04-04Merge pull request #4716 from asukiaaa/masterSandeep Mistry
Corrected comments of rx and tx in a SoftwareSerial example.
2016-03-19Corrected comments of rx and tx for SoftwareSerial example.asukiaaa
2016-03-10Make SoftwareSerial receive buffer a uint8_t arraySandeep Mistry
2016-03-10Add missing cast to SoftwareSerial::peek() when returning buffered valueSandeep Mistry
2016-03-09Fix Wire registerPaolo Paolucci
Move TWBR register from Wire.cpp to twi.c file.
2016-03-04Move AVR Wire library utility folder under sourceSandeep Mistry
2016-03-03Merge pull request #4646 from arduino/SimonePDA-patch-3Sandeep Mistry
Update library.properties
2016-03-03Merge pull request #4645 from arduino/SimonePDA-patch-2Sandeep Mistry
Update library.properties
2016-03-03Update library.propertiesSimonePDA
2016-03-03Update library.propertiesSimonePDA
2016-03-03Update library.propertiesSimonePDA
2016-03-03Update library.propertiesSimonePDA
2016-03-02add src folder when missingAlice Pintus
2016-03-02moved .h file in src folderAlice Pintus
2016-03-01update sentencesAlice Pintus
2016-02-01Fixed typoBrent Wilkins
2016-01-18Update Wire.cppBrent Wilkins
Removed implicit conversions from unsigned, to signed, back to unsigned.
2015-12-10Added HID_REPORT_TYPE definitionsNicoHood
2015-11-30Merge branch 'remove-wire-keywords' of https://github.com/per1234/ArduinoCristian Maglie
2015-11-28Remove unused keywords from Wire libraries keywords.txtper1234
These functions have been replaced by read() and write() since Arduino 1.0.
2015-11-24eeprom_clear example: Set pinMode of LED pinper1234
2015-11-11SoftwareSerial: fix flush() behaviourCristian Maglie
Fix #4029
2015-11-05Remove tx_pin_write from SoftwareSerial.hSandeep Mistry
It’s not implemented anywhere and unused.
2015-11-05Remove unused param warningSandeep Mistry
2015-11-05Add inline to recv and setRxIntMsk to remove warning (#4078)Sandeep Mistry
2015-10-30[PUSB] Fixed return value for HID_::SendReportCristian Maglie
2015-10-30[PHID] send data if report ID was sent successfulNico
If the first sending was not successful it is better to abort. Then we get a return value of -1 (instead of -2 if the 2nd call will also fail) and we do not need to block even longer, with another timeout.
2015-10-30Added return value to HID SendReportNicoHood
2015-10-22check TWWC (Write Collision Flag) bit after setting TWDRSandeep Mistry
as suggested by @earlyprogrammer in #2173, to ensure TWDR value is set if there is a write collision
2015-10-22release TWI bus right after stop or repeated start is conditionSandeep Mistry
this resolves timing issues seen in #1477
2015-10-21Merge remote-tracking branch 'arduino/master' into HEADCristian Maglie
2015-10-21[USB] use plugged modules name to create iSerial fieldMartino Facchin
2015-10-12[PHID] Fixes protocol on reenumerationNicoHood
2015-10-12[HID] renamed HIDDescriptorListNode to HIDSubDescriptorCristian Maglie
2015-10-12[PUSB] Renamed PUSBListNode to PluggableUSBModuleCristian Maglie
2015-10-12[HID] made HIDDescriptorListNode.length constantCristian Maglie
2015-10-11[PHID] Added missing GET_IDLE RequestNicoHood
2015-10-10[PHID] Added some hints for further optional implementationsNicoHood
2015-10-10Added official HID definitionsNicoHood
Since the HID library adds some general HID definitions and structs, it is very useful to also include this in a custom library. If you dupe the information you have problems of redeclaration. Having those defintions inside the official HID library is essential for a good working additional HID API.
2015-10-08Remove unnecessary includeNico
Its included by HID.h anyways.
2015-10-08[HID] Improved checks in getDescriptor() methodCristian Maglie
2015-10-07[PUSB] Removed unnecessary endpoint and interface functionNicoHood
2015-10-07[PHID] Added SetReport functionNicoHood
This commit just shows other that this option is available and not implemented. You may use this to determine the Led Lights state of a keyboard or transmit data via RAWHID from the PC. Quick usage guide: int length = ((setup.wValueH << 8) | setup.wLength); USB_RecvControl((uint8_t* data, USB_EP_SIZE); // Needs to be splitted into USB_EP_SIZE packets, not shown here. See HID Project.
2015-10-07[PUSB] Made getDescriptor() and setup() more flexibleNicoHood
Alternatively we can only pass the wIndex to getDescriptor but I suggest to just pass the pointer aka reference of the whole setup. In guess (havent tested this) that this results in more or less the code size but its a) idential with the other functions and b) we late have more flexibility here. The Code got a quick SerialKeyboard.ino test
2015-10-07[PUSB] renamed some parametersCristian Maglie
2015-10-02[PUSB] Fix static initialization order fiascoMartino Facchin
For details see: https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use
2015-10-02[HID] removed HIDDescriptor fieldCristian Maglie
The field is now built on-the-fly on the stack and sent over USB. This change increase Flash usage and decrease SRAM usage: before: 6114 / 241 after: 6152 / 216 (removed HIDDescriptor field) delta: +38 / -25 SRAM is a much more scarse resource and this change free up to about 10% of the "base" usage.
2015-10-02[HID] Code cleanup (no semantic changes)Cristian Maglie