1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-13 23:48:46 +01:00
Commit Graph

615 Commits

Author SHA1 Message Date
Martino Facchin
e75d029c81 Ethernet: add getSocketNumber to keywords 2015-07-09 15:42:45 +02:00
Aberto Panu
c5f0815f27 Add EthernetClient getSocketNumber() function 2015-07-09 15:42:26 +02:00
Martino Facchin
2f3914eb97 LiquidCrystal: bumb version to 1.0.3
fix compatibility with Galileo and Edison
2015-07-09 15:04:26 +02:00
Federico Fissore
5e98cd8528 Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Pras Velagapudi
2d5e76e10c Fixed typo in Scheduler header guard.
The header guard in the Scheduler.h file was previously misspelled.
2015-07-03 13:10:33 -04:00
Calvin Park
b0278f4c15 LiquidCrystal Library changes for Galileo and Edison compatibility 2015-07-01 15:06:39 -07:00
Cristian Maglie
71de447620 Bridge: Added UDP packet support.
Fix #1716
2015-06-30 13:32:42 +02:00
Cristian Maglie
e016835289 Bridge: Added compatibility layer with older YunClient 2015-06-30 12:20:12 +02:00
Cristian Maglie
0c109b5242 Bridge: Renamed YunClient/YunServer to BridgeClient/BridgeServer
This makes the library more consistent and not tied to a specific board.
2015-06-30 12:20:11 +02:00
Cristian Maglie
954f59d9ce Bridge: Fixed File "duplicate definitions" when using SD and Bridge libraries together
The two File classes have been enclosed into different namespaces.

To guarantee compatibility with old sketches that uses only one of the two
libraries an additional line:

   using namespace xxxxx;

has been added so the users can still use "File" where there is no ambiguity.

BridgeLib::File and SDLib::File classes have been also aliased to BridgeFile
and SDFile respectively, users are encouraged to use that instead of File.
2015-06-30 11:49:53 +02:00
Rob Kiefer
2774f5a4c9 Resets YunClient in stop() so unread buffered data is not read if YunClient is reused. 2015-06-30 11:35:18 +02:00
Rob Kiefer
6f566776f9 Fixes YunClient's connected() to behave like other Clients (WiFiClient, EthernetClient, etc) 2015-06-30 11:35:17 +02:00
Cristian Maglie
7f2fc71607 Ethernet: Increased version number 2015-06-22 11:31:58 +02:00
Cristian Maglie
76b2f992ee Ethernet lib: first implementation for zero 2015-06-22 11:31:57 +02:00
Cristian Maglie
ed8cdcc48f Ethernet lib: move AVR defines into a specific section 2015-06-22 11:31:57 +02:00
Cristian Maglie
6d3e8c7f0f Ethernet lib: slightly refactored SPI_ETHERNET_SETTING build
Prepare for next refactoring.
Doesn't change any behaviour.
2015-06-22 11:31:57 +02:00
Cristian Maglie
2274922d5e Ethernet library now use SPI_HAS_EXTENDED_CS_PIN_HANDLING to detect when Extended SPI API is available 2015-06-22 11:31:57 +02:00
Cristian Maglie
419597f7e4 Ethernet: Fixed indent 2015-06-22 11:31:57 +02:00
Claudio Indellicati
1f8c9642a3 Servo library for the SAMD architecture. 2015-06-18 10:57:14 +02:00
Federico Fissore
cb29f4832e Bridge: Temboo examples update. Released version 1.0.7 2015-06-10 17:22:52 +02:00
Federico Fissore
c1c5e70fe1 Dropped libraries Firmata and Temboo: they are downloaded at build time from their repos 2015-06-10 15:41:46 +02:00
Federico Fissore
8a3982baf8 TFT: releasing version 1.0.4 2015-06-10 15:01:37 +02:00
Federico Fissore
e04e4a68ec Stepper: releasing version 1.1.1 2015-06-10 15:01:20 +02:00
Federico Fissore
309e7892fd SD: releasing version 1.0.5 2015-06-10 15:01:02 +02:00
Federico Fissore
47d3cc9991 Robot_Motor: releasing version 1.0.2 2015-06-10 15:00:43 +02:00
Federico Fissore
553f74b740 Robot_Control: releasing version 1.0.2 2015-06-10 15:00:29 +02:00
Federico Fissore
97c431ca4e RobotIRRemote: releasing version 1.0.2 2015-06-10 15:00:06 +02:00
Federico Fissore
506efe08e5 Ethernet: releasing version 1.0.4 2015-06-10 14:59:45 +02:00
Federico Fissore
07685a07dc Bridge: releasing version 1.0.6 2015-06-10 14:57:13 +02:00
Cristian Maglie
f2a8f517f0 Stepper: fixed indentation 2015-06-05 16:18:46 +02:00
Cristian Maglie
1064554b87 Stepper: optimization on timing calculations
micros() is now called only once per cycle (instead of 3).

The rollover check is superflous because the "last_step_time" field
is unsigned.
2015-06-05 16:18:46 +02:00
Cristian Maglie
0546bf04e0 Stepper library: updated version 2015-06-05 16:18:46 +02:00
Ryan Orendorff
50ca5d8f75 Stepper Library supports 5 phase, 5 wire motors. 2015-06-05 16:18:46 +02:00
ekozlenko
caf000b005 Fixed unsigned var and version note 2015-06-05 16:18:46 +02:00
ekozlenko
847816739f Update stepper library: High-speed stepping mod and timer rollover fix
When using the stepper library with a 1.8 degrees per step motor, and at high angular speeds, the current Stepper library leads to really loud and jittery rotation. This is due to the fact that the timing is calculated in milliseconds, and the delay length between steps is only 2.5 milliseconds when trying to spin at 120 rpm. Since only integer math is performed, you end up actually bouncing between different step delays, and thus speeds, from step to step instead of giving the motor a constant input.  Which causes the motor to freak out.

Changing the library to calculate the step delays in micros() solves that problem for any speed you can reasonably demand from your stepper motor. The down side is that the micros() counter rolls over every hour or so, and any move you perform after that point will hang your code. Easy fix for that is to add an || micros() - this->last_step_time < 0 to the while loop if statement in Stepper.cpp.
2015-06-05 16:18:46 +02:00
Arturo Guadalupi
8a54c70a94 Added literal float to improve precision
according to #2922 I added missing float literals to improve the accuracy of the result.

If sensorValue = 1:

Before: voltage = 4

Now: voltage = 4.88
2015-06-05 12:29:50 +02:00
Arturo Guadalupi
394bab072c Merge pull request #3036 from damellis/tft-spi-transactions
Add SPI transactions to TFT library.
2015-05-29 12:45:27 +02:00
Matthias Hertel
a9cdd44d27 Optimizations: remove multiple calls to the status() function. 2015-05-28 11:00:23 +02:00
Martino Facchin
29e253495d Merge pull request #3193 from Chris--A/SD_Strings
Added String handling to SD class
2015-05-28 10:48:37 +02:00
Federico Fissore
9166828bfe 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
Chris--A
36f320b6d5 Added String handling to SD class 2015-05-20 22:02:09 +10:00
Ish Gupta
c3d3016049 Updated cursor.ino
Previous commit broke the actual functionality. The code was confusing and worked until the previous commit.
The changes make it logically and functionally correct.
2015-05-14 18:30:17 +05:30
newbie15
fe52e7f04f Added a note about non-standard row offsets in LiquidCrystal.cpp
In my case I had to change it to make my 16x4 LCD work properly

Fixes #1333
2015-05-08 12:35:04 +02:00
Federico Fissore
f118dee688 Bridge: default baudrate is specified with BRIDGE_BAUDRATE. Fixes #2904 2015-04-30 16:32:32 +02:00
squelched
1c25d2432f SD: allow multiple SD instances
The SDClass class makes a reference to "SD.card" instead of just "card". SD is a global instance of SDClass.
This prevents any other instance of SDClass from functioning correctly.
The fix also allows SDClass to be used with an SD card which is removed and replaced, whereas previously, using the global instance SD did not allow this due to the limitation of begin() which cannot be called more than once.
2015-04-27 11:53:02 +02:00
David A. Mellis
0c7f9234df Add SPI transactions to TFT library. 2015-04-26 17:28:19 -04:00
Federico Fissore
5519f15663 Libraries: added help files to mitigate missing contextual reference issue 2015-04-23 17:19:15 +02:00
Federico Fissore
e720bb058d Audio and Servo library version bump 2015-04-23 13:28:17 +02:00
Federico Fissore
0b4b76fa67 Bundled libraries update 2015-04-23 13:01:30 +02:00
Arturo Guadalupi
f76087cd10 Update Firmata.h 2015-04-23 12:53:30 +02:00