1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
0546bf04e0 Stepper library: updated version 2015-06-05 16:18:46 +02:00
50ca5d8f75 Stepper Library supports 5 phase, 5 wire motors. 2015-06-05 16:18:46 +02:00
caf000b005 Fixed unsigned var and version note 2015-06-05 16:18:46 +02:00
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
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
5519f15663 Libraries: added help files to mitigate missing contextual reference issue 2015-04-23 17:19:15 +02:00
0b4b76fa67 Bundled libraries update 2015-04-23 13:01:30 +02:00
9eb2bac42e First licenses review 2015-04-23 12:53:30 +02:00
f7106ecc65 Libraries: version now compliant with semver. See http://semver.org/ 2015-03-27 15:01:49 +01:00
0ae9e3a0d0 Libraries: added missing properties 2015-02-25 11:20:40 +01:00
ce412a0461 Added README.adoc for the library manager project 2015-01-16 17:14:02 +01:00
6d7751cf5f Fixed some libraries metadata. 2015-01-16 12:22:24 +01:00
b02e85ceb2 modified sentences in library.properties files 2014-07-18 19:41:34 +02:00
76ded605ff Updated all library.properties to 1.5 rev2 lib format 2014-02-18 22:32:24 +01:00
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
07d9d558b5 Updated libraries metadata 2013-08-08 16:40:55 +02:00
d94e7e8ae0 deleted Twitter examples from Ethernet and GSM libraries 2013-07-10 12:37:02 +02:00
dc9c791070 Stepper library to the new format 2013-06-27 19:24:16 +02:00
57b8713cab Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform 2012-01-04 15:14:51 +01:00
35777612c0 Changed all .pde examples to .ino
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
d05e4021d0 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05:00
b3c92d834f added new stepper library examples 2010-10-28 09:39:36 -04:00
d3643850ce Added public domain notice 2010-02-24 03:53:35 +00:00
3075c8e4fd Moving libraries out of arduino platform / core directory and to top-level. 2009-11-07 17:54:56 +00:00