1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-12-09 08:01:38 +03:00
Commit Graph

5650 Commits

Author SHA1 Message Date
Ivan Grokhotkov
1f0673fd92 Fix tcp error handler 2015-06-11 18:11:26 +03:00
Ivan Grokhotkov
c066c7ca6c Better handling of wifi disconnect (#231)
When network interface is down, some nasty things happen, for instance tcp_connect returns without ever calling error callback.
This change adds some workarounds for that: before doing a tcp connect and DNS resolve we check if there is a route available.
Also added a listener for wifi events which stops (aborts) all the WiFiClients and WiFiUDPs when wifi is disconnected. This should
help libraries detect disconnect properly.
2015-06-11 18:01:33 +03:00
Ivan Grokhotkov
87e3e60993 Merge pull request #406 from me-no-dev/esp8266
fix sd example returning bad json on empty folder
2015-06-11 12:38:52 +03:00
Kristijan Novoselic
dde3f2c203 Added a DNSServer library 2015-06-11 12:37:30 +03:00
Duality
67a07ab6ca added NOT_ON_TIMER and digitalPinToTimer defines to make a liquidcrystal library workd (that uses i2c) 2015-06-11 12:37:17 +03:00
Ivan Grokhotkov
89c2eac1ac Merge pull request #388 from Links2004/esp8266
fix compiler warnings and handle empty SSID paramater
2015-06-11 12:24:03 +03:00
Federico Fissore
cb29f4832e Bridge: Temboo examples update. Released version 1.0.7 2015-06-10 17:22:52 +02:00
Federico Fissore
2e2e2f7449 Update revisions.txt 2015-06-10 15:46:08 +02:00
Federico Fissore
0a6577f85c If parsing a core fails, don't crash but report a warning. Fixes #3307 2015-06-10 15:42:47 +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
Federico Fissore
0d795a0efa Update revisions.txt 2015-06-10 14:27:47 +02:00
Cristian Maglie
0db1142de8 Windows driver: added Arduino Zero and some small fix 2015-06-10 14:04:16 +02:00
Cristian Maglie
e73cae6fdf Fixed license for drivers
Close #3006
2015-06-10 14:04:15 +02:00
Federico Fissore
cfdfadf1b0 Update revisions.txt 2015-06-10 12:06:58 +02:00
Federico Fissore
47f9c091b0 Merge pull request #3312 from ffissore/linux-jvm-bundle
Linux: bundling the JVM
2015-06-10 09:38:59 +02:00
Federico Fissore
30f7fc4518 Linux: pull request script was missing linuxes bundled jvms 2015-06-10 08:47:16 +02:00
Federico Fissore
3826a0abb4 Linux: bundling the JVM, making sure no graphical glitches are caused by older JVMs 2015-06-09 17:38:09 +02:00
John Doe
81c19a60e2 fix sd example returning bad json on empty folder 2015-06-09 01:34:59 +03:00
Me No Dev
45b5baf5ca Merge pull request #2 from esp8266/esp8266
Esp8266
2015-06-08 22:10:39 +03:00
Federico Fissore
fec9fb4d0e Tab deletion confirmation now shows the complete file name IF it's not a .ino. Fixes #2350 2015-06-08 15:32:15 +02:00
Federico Fissore
bef09e4d03 MacOSX: Platform cleanup 2015-06-08 15:05:10 +02:00
Federico Fissore
ccd7fdc0a3 By using syntax like file://./docs/index.html, editor will open file index.html stored in folder SKETCH_FOLDER/docs/. Fixes #224 2015-06-08 15:05:07 +02:00
Federico Fissore
8465202264 FindReplace dialog re-done from scratch using Netbeans. This ensure proper display on every OS. Fixes #2211 2015-06-08 12:48:35 +02:00
Federico Fissore
9ab0ea6e49 Sketch: some code cleanup 2015-06-08 10:13:00 +02:00
Federico Fissore
22e9d25245 Update sketch code when editing with an external editor and IDE gets focus. Fixes #1778 2015-06-08 10:05:39 +02:00
Federico Fissore
aef835b45c Added menu's "mnemonic" for accessing, for example, the File menu using ALT+F. They make sense only when using the english language, though. Fixes #977 2015-06-08 09:25:49 +02:00
Federico Fissore
919cd8f1b2 Merge pull request #3291 from damellis/osx-line-selection
Cmd+Shift+Left/Right selects from cursor to start/end of line (OS X)
2015-06-08 08:54:04 +02:00
Markus Sattler
0c399dd8b1 update to SDK 1.1.1_15_06_05 2015-06-06 13:48:53 +02:00
Markus Sattler
1040703450 add pedantic compiling flag see #385 2015-06-05 21:00:13 +02:00
Matthijs Kooijman
5b4ebcf959 Support the Atmel STK500 development board for ISP 2015-06-05 18:43:25 +02:00
ziotibia81
ec4006d1ee Added comment about Bus Pirate 2015-06-05 18:43:23 +02:00
ziotibia81
cb9a14835c Added support for Dangerous Prototypes Bus Pirate as ISP
Close #2385
2015-06-05 18:43:12 +02:00
Federico Fissore
84d10a8ea0 Some CLI args are parsed before initializing packages. --board argument is parsed after. Fixes #3261 2015-06-05 17:18:50 +02:00
Federico Fissore
455fecff13 Better tab switching but still unable to switch backwards (CTRL+SHIFT+TAB) 2015-06-05 16:51:05 +02:00
Cristian Maglie
59238a22b7 update revision log 2015-06-05 16:23:34 +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
Markus Sattler
73eca890a8 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-06-05 15:43:33 +02:00