Benoît Blanchon
cb38e4d586
Speed and size improvement in Print::printFloat()
...
Avoid using the overload of print() for signed integer since a negative value is not allowed here.
This results in a smaller (unless print(int) is used somewhere else in the program) and faster code because the overload for unsigned integer is simpler.
2016-03-08 22:13:10 +01:00
Sandeep Mistry
a11ba6108a
Move AVR Wire library utility folder under source
2016-03-04 17:11:56 -05:00
Cristian Maglie
6a15a3c556
AVR core version to 1.6.10
2016-03-04 14:56:09 +01:00
Sandeep Mistry
bf730be92d
Merge pull request #4646 from arduino/SimonePDA-patch-3
...
Update library.properties
2016-03-03 15:19:26 -05:00
Sandeep Mistry
ccf08472c7
Merge pull request #4645 from arduino/SimonePDA-patch-2
...
Update library.properties
2016-03-03 15:19:06 -05:00
SimonePDA
a3ea35834f
Update library.properties
2016-03-03 19:57:04 +01:00
SimonePDA
9339d7254c
Update library.properties
2016-03-03 19:34:02 +01:00
SimonePDA
d7f6536f3a
Update library.properties
2016-03-03 19:26:22 +01:00
SimonePDA
ae829f6ac5
Update library.properties
2016-03-03 19:13:25 +01:00
tico-tico
11db98c425
huh? i guess it's just 'modulo'. let's save even more
2016-03-03 10:53:25 -05:00
Alice Pintus
4ea9207559
add src folder when missing
2016-03-02 14:45:57 +01:00
Alice Pintus
d5a10e8ca8
moved .h file in src folder
2016-03-02 10:49:39 +01:00
Alice Pintus
2b1d8d6112
update sentences
2016-03-01 16:09:50 +01:00
Paulo Costa
feee822caa
Boilerplate compression on ISR declaration
...
The current code is very verbose and a painful to maintain (Change ISR implementation in 20 different places? No Thanks!).
(This was originally part of #4519 , but we all agreeded it deserved it's own PR)
2016-02-03 22:43:57 -02: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
vbextreme
cc90c73ee9
fix delay/yield on avr, if function called by yield takes more a millisecond the delay fails
2015-12-27 14:50:56 +01:00
Cristian Maglie
8ebb912d30
Merge NicoHood's fix for USB_SendControl with len>64
...
Fix #4325
2015-12-23 15:35:08 +01:00
NicoHood
eb18cae855
Added >64 byte USB_RecvControl() support
2015-12-23 15:31:55 +01:00
NicoHood
d596f45771
Added Long USB RecvControl call for >64 bytes
2015-12-19 01:53:24 +01:00
NicoHood
8eea4fc81d
Added HID_REPORT_TYPE definitions
2015-12-10 10:30:04 +01:00
Cristian Maglie
cecba6cde7
Merge branch 'remove-wire-keywords' of https://github.com/per1234/Arduino
2015-11-30 10:20:10 +01: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
per1234
27ccdfb19b
eeprom_clear example: Set pinMode of LED pin
2015-11-24 16:23:16 -08:00
Cristian Maglie
c411f282f9
Merge branch 'led_fix' of https://github.com/NicoHood/Arduino
2015-11-24 16:44:51 +01:00
Cristian Maglie
d723985d79
Merge branch 'leonardo-usbserial' of https://github.com/cmaglie/Arduino
2015-11-24 16:34:27 +01:00
Sandeep Mistry
af0e712b12
Cleanup some Stream compiler warnings from #3337
2015-11-23 16:45:29 -05:00
Chris--A
699041da60
Make protected Stream::parseInt/Float overloads public.
...
Stream::parseInt & Stream::parseFloat previously had protected
overloads which allowed skipping a custom character. This commit
brings this feature to the public interface.
To keep the public API simpler, the single paramter overload remains
protected. However its functionality is available in the public
interface using the two parameter overload.
2015-11-23 15:46:24 -05:00
Chris--A
02909a5d39
This adds control of Stream::parseInt/float lookahead.
...
Its default is SKIP_ALL which reflects previous versions.
However SKIP_NONE, and SKIP_WHITESPACE can refine this behaviour.
A parameter used in the protected overloads of parseInt/Float has been
changed from `skipChar` to `ignore`.
2015-11-23 15:46:24 -05:00
Chris--A
f536bf5ced
This is a bug fix which prevents parseFloat from proceeding past
...
multiple decimals '.' in the stream. Only one can be accepted for
valid decimal numbers.
2015-11-23 15:46:24 -05:00
Chris--A
ca8417e8bd
This commit improves the parsing capability by allowing decimals only
...
prefixed by an '.' character. Previously the preceeding zero must be
present: '0.'
2015-11-23 15:46:23 -05:00
Cristian Maglie
54fd3f8413
Added SerialUSB alias for Serial on 32u4 boards
2015-11-20 12:08:35 +01:00
Cristian Maglie
f28a1f3674
Merge branch 'fix-flush' of https://github.com/cmaglie/Arduino
2015-11-18 10:06:01 +01:00
Federico Fissore
0327740d28
Modified AVR preproc recipe to match the one used by arduino-builder
2015-11-18 09:34:33 +01:00
agdl
c2ca3ff34e
Added defines for gemma
...
As pointed out in #4063
2015-11-17 15:04:11 +01:00
Cristian Maglie
5bc0a1c056
SoftwareSerial: fix flush() behaviour
...
Fix #4029
2015-11-11 16:28:48 +01:00
Sandeep Mistry
c581cec8bf
Remove tx_pin_write from SoftwareSerial.h
...
It’s not implemented anywhere and unused.
2015-11-05 15:39:11 -05:00
Sandeep Mistry
b31b6b8efd
Remove unused param warning
2015-11-05 14:28:40 -05:00
Sandeep Mistry
271a3b7b2a
Add inline to recv and setRxIntMsk to remove warning ( #4078 )
2015-11-05 14:28:29 -05:00
Cristian Maglie
0c2d320ee2
Updated avr core version to 1.6.9
2015-11-03 11:34:03 +01:00
Cristian Maglie
67be29640d
[PUSB] Fixed return value for HID_::SendReport
2015-10-30 13:00:33 +01:00
Nico
25d1a2a67c
[PHID] send data if report ID was sent successful
...
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-30 12:58:14 +01:00
NicoHood
fff2677c82
Added return value to HID SendReport
2015-10-30 12:58:14 +01:00
Cristian Maglie
47f7712611
Merge branch 'arduinoGemmaInterrupts' of https://github.com/agdl/Arduino
2015-10-23 11:00:25 +02:00
Arturo Guadalupi
c2a58fe4cd
Gemma digitalPinToInterrupt support
...
Added support for Arduino Gemma as required in #3929
2015-10-23 10:44:02 +02:00
Nico
9c4499117c
Increased 32u4 maximum pin number
2015-10-23 10:41:56 +02:00
Arturo Guadalupi
43f902c8c3
Ethernet digitalPinToInterrupt support
...
Added support for Arduino Ethernet as required in #3929
2015-10-23 10:16:43 +02: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
a3cfc4dccf
Merge remote-tracking branch 'arduino/master' into HEAD
2015-10-21 15:53:59 +02:00