1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Commit Graph

2301 Commits

Author SHA1 Message Date
Cristian Maglie
63f5d26ae9 Improved Serial input processing.
Before this patch every byte received from Serial
invokes a String allocation, not really efficient.

Moreover a InputStreamReader is chained on the serial
InputStream to correctly convert bytes into UTF-8
characters.
2014-12-23 12:58:41 +01:00
Cristian Maglie
391d3380ee Removed leftover debug print 2014-12-10 11:01:45 +01:00
Cristian Maglie
35848e09a8 Mitigated Serial Monitor resource exhaustion when the connected device sends a lot of data
Fixes #2233
2014-12-10 10:37:43 +01:00
Cristian Maglie
1be99c3a1d Merge pull request #2365 from cmaglie/ide-1.0.x-spi-transaction
[IDE 1.0.x (backport from 1.5.x)] SPI Transactions
2014-12-02 22:24:51 +01:00
Cristian Maglie
ae402c2907 Update revision log 2014-12-02 22:20:40 +01:00
PaulStoffregen
20ca43646a Fix SPI transaction mismatch errors 2014-12-02 22:18:43 +01:00
Cristian Maglie
37115d03ef Backported SD library from 1.5.x 2014-12-02 22:15:57 +01:00
Cristian Maglie
b9b0fcdadc Backported Ethernet library from 1.5.x 2014-12-02 22:15:57 +01:00
Cristian Maglie
6ecb174c40 Backported 'yield()' hook from 1.5.x 2014-12-02 22:15:57 +01:00
Cristian Maglie
042fa0c3f2 Backported SPI Transcations from 1.5.x 2014-12-02 22:14:59 +01:00
Arturo Guadalupi
060c1e766c Updated description
It reads the state of a potentiometer (an analog input) and turns on an LED
 only if the LED goes above a certain threshold level. It prints the analog value
 regardless of the level.

updated to

 It reads the state of a potentiometer (an analog input) and turns on an LED
 only if the potentiometer goes above a certain threshold level. It prints the analog value
 regardless of the level.
2014-11-24 09:37:20 +01:00
Cristian Maglie
54a6d644b6 Updated revision log 2014-10-21 17:40:48 +02:00
Cristian Maglie
62cf4b6b55 Revert "Match return value to type in available()"
This reverts commit f40e471354.
Added an hint for the buffer sizes.

See #2057
Fixes #2367
2014-10-21 17:18:26 +02:00
Cristian Maglie
58b6fd4789 Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt()
Fixes #2379
2014-10-21 16:55:37 +02:00
Cristian Maglie
ed5ad426dd Upped version to 1.0.7. Update revision log. 2014-10-10 00:08:41 +02:00
Cristian Maglie
afc368b01f GSM: Backported library from IDE 1.5.x
Fixes #2343
2014-10-10 00:02:18 +02:00
Cristian Maglie
d63350b506 Merge pull request #2345 from JChristensen/ephemeral
Change EthernetClient to use IANA recommended ephemeral port range
2014-10-08 13:08:09 +02:00
JChristensen
c01172cd1b Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535. 2014-10-05 22:41:39 -04:00
Cristian Maglie
ad0bedcbe3 Merge pull request #2329 from Unh0lyTigg/patch-1
Fix typo in KeyboardLogout.ino
2014-10-01 13:28:30 +02:00
Robert Allen
d3f76e9558 Fix typo in KeyboardLogout.ino
Comment says ALT+s, code says ALT+l. This remedies that difference.
2014-09-26 12:51:10 -07:00
Cristian Maglie
cd015f4c0b Merge pull request #2316 from championswimmer/1.0.x-fixMaxMega
set correct max size for mega2560 (to address issue #2277)
2014-09-23 11:43:59 +02:00
Arnav Gupta
4dd931a99a set correct max size for mega2560 (to address issue #2277)
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2014-09-21 17:10:06 +05:30
Cristian Maglie
90bd172f30 Updated revision log. Version upped to 1.0.6. 2014-09-16 12:16:06 +02:00
Cristian Maglie
88b487f480 Removed todo.txt (leftover) and updated build.xml accordingly 2014-09-16 12:14:03 +02:00
Cristian Maglie
e9e257bcdf Merge pull request #2258 from QuentinPerez/fix-descriptor-firmware
fix Descriptor.c
2014-08-25 22:14:57 +02:00
qperez42@gmail.com
70bc56275d fix Descriptor.c 2014-08-25 09:52:10 +02:00
Christopher Andrews
1bbcb2f9d4 Added replacement stub for cstdlib atexit() funciton.
This is an empty stub to simply allow use of complex types with a
non global static lifetime. For more complex handling the function
'atexit' can be redefined in user code.

For more information see:

https://github.com/arduino/Arduino/pull/2229
https://github.com/arduino/Arduino/issues/1919
2014-08-08 15:38:57 +02:00
Cristian Maglie
e71bbf6011 Merge pull request #2195 from pmjdebruijn/duplicate-example
SPI: remove duplicate BarometricPressureSensor example
2014-07-24 14:53:48 +02:00
Cristian Maglie
163b60ee29 Merge pull request #2206 from amulya349/master
Fix of a bug #2199
2014-07-24 14:40:52 +02:00
Amulya Kumar Sahoo
97dc72ce05 Fix of a spelling mistake 2014-07-23 01:17:31 +05:30
Amulya Kumar Sahoo
865594d132 Fix of a bug 2014-07-23 01:03:44 +05:30
Pascal de Bruijn
2c10bbe84c SPI: remove duplicate BarometricPressureSensor example 2014-07-19 12:53:13 +02:00
Cristian Maglie
3a8ad75bce Merge pull request #2162 from ankitdaf/patch-2
Update HelloWorld.ino - Added two lines for documentation
2014-07-15 17:13:26 +02:00
Ankit Daftery
f34787d100 Update HelloWorld.ino
Adding power connections, just to be thorough
2014-07-03 13:08:12 +05:30
Cristian Maglie
faa08454cd Fixed Smoothing example
"index" variable name create conflicts with Arduino Due where "index" is
a reserved word for Posix C.
2014-07-02 15:44:26 +02:00
Cristian Maglie
494d3de97d Fixed permission on wifishield upgrade script. 2014-07-01 19:05:03 +02:00
Cristian Maglie
fe78ffe429 Merge pull request #2118 from benoit-artefactlabs/wifishield-upgrade-firmware-mac-path
corrected wrong path to firmware binaries in wifishield upgrade script f...
2014-07-01 18:52:41 +02:00
Cristian Maglie
668559fc6f Updated revision log 2014-07-01 18:27:03 +02:00
Cristian Maglie
29f9dd9f1f Merge pull request #2139 from cmaglie/init-variant
Allow variants to define an initVariant() function that is called at startup
2014-07-01 17:28:45 +02:00
Cristian Maglie
f73209728d Updated revision log 2014-06-30 18:24:42 +02:00
Cristian Maglie
e0f83a3617 Backported digitalPinToInterrupt macro from IDE 1.5.x 2014-06-30 18:24:08 +02:00
Cristian Maglie
bb095a2a59 initVariant() is now declared as external "C" function.
See #2080 for more details.
2014-06-27 14:26:32 +02:00
Cristian Maglie
a798c79dab Updates to revision log 2014-06-25 16:02:00 +02:00
Cristian Maglie
40270306e0 Allow variants to define an initVariant() function that is called at startup.
See #2080
2014-06-19 19:49:47 +02:00
Cristian Maglie
11e02db954 Fixed regression in USBAPI and CDC (xaljox)
See:
9ac7e30252 (commitcomment-6718676)
2014-06-19 16:52:48 +02:00
Cristian Maglie
d2b6f9fab8 Merge pull request #2124 from embmicro/patch-1
Update USBAPI.h
2014-06-13 09:29:09 +02:00
Embedded Micro
9ac7e30252 Update USBAPI.h
Fixes bug where Serial.read() would always return 0 as the first byte.
2014-06-10 08:48:23 -07:00
benoit.git
d460dd6683 corrected wrong path to firmware binaries in wifishield upgrade script for mac 2014-06-08 00:01:40 +02:00
Federico Fissore
09d0843ff3 Merge pull request #2117 from amulya349/master
Fixed mistake in comment
2014-06-07 23:56:08 +02:00
Amulya Kumar Sahoo
e6923526d3 Fixed error in comment 2014-06-07 18:05:04 +05:30