Commit Graph

655 Commits

Author SHA1 Message Date
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
Arturo Guadalupi 42f62fc3e5 Update README.adoc 2015-04-23 12:53:30 +02:00
Enrico Gueli 38ccd55399 added license on TFT library 2015-04-23 12:53:30 +02:00
Arturo Guadalupi 5bfdbe853c minor changes 2015-04-23 12:53:30 +02:00
Arturo Guadalupi 9eb2bac42e First licenses review 2015-04-23 12:53:30 +02:00
Federico Fissore 8b0fcbe281 Temboo: updated bundled library 2015-04-23 12:45:31 +02:00
Federico Fissore ea9a7a11c7 Converted Robot_Control files to unix format for better git diffs 2015-04-22 16:40:00 +02:00
Martino Facchin d72bc63d6e Merge pull request #2974 from facchinm/test_2659_2
SD: remove any reference to pinMode(10, OUTPUT) in the examples
2015-04-15 08:57:32 +01:00
Martino Facchin d3a6c37980 increase version number 2015-04-15 09:55:37 +02:00
Martino Facchin a57d390499 SD: remove any reference to pinMode(10, OUTPUT) in the examples
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868

current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
Arturo Guadalupi d7c32eefa1 License fix to audio library 2015-04-09 18:18:24 +02:00
Arturo Guadalupi 0c01e66402 License fix 2015-04-09 17:22:46 +02:00
Federico Fissore ae6a5d887d Lib: WiFi version bump 2015-04-02 14:32:50 +02:00
Federico Fissore a6d1d9537c Lib: Temboo version bump 2015-04-02 14:28:07 +02:00
Federico Fissore 25a6d3df46 Lib: SD version bump 2015-04-02 14:24:53 +02:00
Federico Fissore e85fe911a0 Lib: GSM version bump 2015-04-02 14:20:05 +02:00
Federico Fissore 18eafd0ed7 Lib: esplora version bump 2015-04-02 14:14:45 +02:00
Martino Facchin 8b019650d5 Merge pull request #2848 from facchinm/testBridgePut
Bridge: fix transfers which ignored host response
2015-04-02 11:03:31 +01:00
Ing. Jan Kaláb f34dc938f6 Typos 2015-04-01 19:43:32 +02:00
Arturo Guadalupi 501333a8ef new theme 2015-04-01 16:11:59 +02:00
Martino Facchin d6f9a6703c Bridge: increase version number 2015-03-31 09:30:51 +02:00
Martino Facchin 45ff4f60b3 Bridge: fix transfers which ignored host response
Bridge.put() was broken by #2781 because it used transfer() 2-parameters overloaded version, which imply that rxlen == 0.
But the Linux Bridge responded, so the check (i >= rxlen) was true and the function timed out after retrying 50 times.

Every bridge command (python side) has been checked and now SHOULD strictly follow this rule and never ignore silently the received data
2015-03-30 15:56:06 +02:00
Federico Fissore f7106ecc65 Libraries: version now compliant with semver. See http://semver.org/ 2015-03-27 15:01:49 +01:00
Martino Facchin ae8549cfcb update revisions.txt and fix comments in Esplora library 2015-03-26 17:23:00 +01:00
Martino Facchin a6be90f983 SD: avoid timeout lock if millis() approaches 2^16
this is a rework of @Timmmm 's PR #1977
2015-03-23 15:28:19 +01:00
Martino Facchin 22bd9f69a2 Ethernet: fix include files path 2015-03-20 15:28:50 +01:00
arve0 ff48ee4c5b do not trust received msg length to read forever 2015-03-16 21:23:01 +01:00
Federico Fissore eecc9ea132 TemperatureWebPanel.ino: added missing semicolons 2015-03-12 09:11:32 +01:00
Iván e02689e70e Print "Yún" and not "Y�n"; "degrees C" to "ºC"
Hi, just got a Yún few days ago and noticed that when testing stuff, just cosmetic.

Thanks.
2015-03-02 23:27:55 +01:00
sngl b1b83c0989 Updated YunClient::connect method'
Now it stop the connection on the linux side when it fails
2015-02-27 11:08:29 +01:00
Federico Fissore 0ae9e3a0d0 Libraries: added missing properties 2015-02-25 11:20:40 +01:00
Federico Fissore c0122d1068 Merge pull request #2618 from ffissore/fix-ethernetclient-boolean-comparison
EthernetClient == and != operators
2015-02-23 08:44:38 +01:00
Federico Fissore 0b6e274b5d Bridge.ino example: comment fixed 2015-02-19 18:08:15 +01:00
Moredread 256f39b4d8 Fix spelling in YunSerialTerminal 2015-02-14 19:00:15 +01:00
Federico Fissore eb0c2c9baa Added virtual bool operator==(const bool value) and virtual bool operator!=(const bool value).
Fixes #2611
Bug introduced with #1700
2015-02-13 17:29:36 +01:00
Cristian Maglie e93be4855f Corrected some email contacts. 2015-02-05 16:47:22 +01:00
Arturo Guadalupi 1f08b5ede4 Cherry picked fix from 87865ac19d 2015-01-22 17:04:59 +01:00
Arturo Guadalupi ce412a0461 Added README.adoc for the library manager project 2015-01-16 17:14:02 +01:00
Cristian Maglie 6d7751cf5f Fixed some libraries metadata. 2015-01-16 12:22:24 +01:00
Javier Zorzano 2b14a9349c Align types: int to unsigned int
Block send SMS until finished operation.
GSM3IO.h. Keeps most of board-dependant pins
Flush buffer after GPRS detach
Delete some references to HardwareSerial.h
Include OFF modem status
2015-01-08 18:36:41 +01:00
PaulStoffregen c0bc2d22f6 Fix SPI transaction mismatch errors 2014-11-20 18:54:04 -08:00
Federico Fissore e52b4edd6f Temboo: removing ControlBySMS and SendDataToMySQL examples, as per Temboo request 2014-11-12 17:55:54 +01:00
Cristian Maglie 8815806540 Added missing keyword in LiquidCrystal library 2014-11-07 19:24:12 +01:00
Cristian Maglie b0d6f42755 Merge branch 'ide-1.5.x-lcd' of github.com:matthijskooijman/Arduino 2014-11-05 17:28:30 +01:00
Cristian Maglie ca5e30a255 Fixed Robot_Control example R06_Wheel_Calibration
Fixes #2217
2014-11-05 15:18:50 +01:00
Cristian Maglie b032f748f1 Ehternet: added packed attribute on DHCP message struct 2014-10-28 17:56:28 +01:00
Cristian Maglie 79fde3a636 Ethernet: fixed upcast of byte-pointer 2014-10-28 17:55:52 +01:00
sngl 622d837e38 Added close method to PImage 2014-10-13 15:09:16 +02:00
Cristian Maglie 2a912bab62 Merge branch 'master' into ide-1.5.x
Conflicts:
	app/src/processing/app/Base.java
2014-10-10 00:14:22 +02:00
Cristian Maglie afc368b01f GSM: Backported library from IDE 1.5.x
Fixes #2343
2014-10-10 00:02:18 +02:00
JChristensen c01172cd1b Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535. 2014-10-05 22:41:39 -04:00
Federico Fissore d002c3ee04 Fixed typos in MailboxReadMessage example 2014-10-02 15:32:18 +02:00
Fede85 f85a72847a Ethernet: UdpNtpClient.ino now uses DNS to connect to the NTP server 2014-09-25 14:50:42 +02:00
Fede85 9a64c1bb1c removed Xively and Cosm examples 2014-09-25 14:50:42 +02:00
Federico Fissore 98da28a3ce Bridge: slowing down ConsoleRead a bit to keep the python side of the Bridge from consuming 100% of the CPU 2014-08-28 13:25:57 +02:00
Cristian Maglie 1824ba1d3b Merge pull request #2223 from PaulStoffregen/ide-1.5.x
SPI Transactions
2014-08-08 12:59:51 +02:00
PaulStoffregen f7a565de1a Use SPI transactions and SPISettings in SD library 2014-08-01 12:19:51 -07:00
PaulStoffregen a0f5a2ee4c Use SPI transaction in Ethernet W5100 init 2014-08-01 11:52:09 -07:00
PaulStoffregen 8aaca2fbb6 Use SPI transactions in Ethernet library 2014-08-01 06:34:34 -07:00
PaulStoffregen 53924e9d58 Move Ethernet socket level stuff to utility/socket.cpp 2014-08-01 06:03:38 -07:00
Nick B-W d80e774717 Updated Temboo library 2014-07-31 13:36:34 -07:00