-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Support Servo library #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looking at the code, this library heavily uses AVR timer registers. It doesn't even support Arduino Due (ARM) boards. Supporting esp8266 would require some heavy rework of this library. |
I was looking at this also. The rework is basically abstracting the timers. The SAM version has better timer abstraction due to the existing timer APIs. |
Me too. |
pull #358 |
Merged |
From the preferences menu turn on verbose compiler output, then build and copy the complete output. From what I see above, it is including the wrong header file as the path is wrong. |
How to change the path?,and i followed file path you mentioned above but there is no servo folder in libraries folder |
What version are you using of the Esp8266/Arduino? If you include the path that is similar to what I had shown above, you can see the version I am running is 1.6.4-816-. The 816 is the important part here. |
I just followed the instructions given in readme.Now its working thank you for sorting me out. |
I am still having this problem even though I followed all README instructions. I also tried adding the staging install but I still get the [avr, sam] architecture error message. Any advice? |
Yes that link was very helpful. Now I'm just having a problem with the timecallback functions for some reason... Arduino: 1.6.4 (Windows 7), Board: "NodeMCU (ESP8266 ESP-12 Module), 80 MHz, 115200" In file included from C:\Users\Valued Customer\Documents\Arduino\libraries\Servo\src/Servo.h:67:0, |
If you examine your output, you will notice that you are running 673 build version (using my instructions above to help identify the build). build 673 doesn't support Servo as it was included after that. So nothing will work until you get a newer build. It looks like build 673 was the last "public" build. If you want to use the staging build, it will include the library. You can get the staging build (albeit you will be using a possible unstable build) you can follow the normal instructions, but use the following for the path |
Hi, Is there is solve for this? Thanks. I'd really love to be able to use the servo/wifi on the ESP8266 rather than relying on another MCU. Here is the error that happens when I have the "attach" command in my sketch. I also tried A0. ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1264, room 16 |
Just following up on my comment. I moved "myservo.attach(5)" to the end of my setup function and it works! Connected to WiFi then attached my servo and it's good to go. Thanks! |
Changelog: 324c2fd Terminate connection if increase_bm_data_size fails 96fbb39 Update README.md c18bb56 Add travis CI 9eaeca3 Postpone freeing of X509 context to the first data exchange after handshake 28869ea Use free followed by malloc instead of realloc when increasing raw buffer 43a90bc Merge pull request #8 from slaff/feature/lwipr-compat 66e1a5f Merge pull request #7 from slaff/feature/sni 1154d0a Changed the code to reserve bytes for hostname only if needed. 63da899 Added SNI ( https://en.wikipedia.org/wiki/Server_Name_Indication ) support. 7c38865 Restructured the lwip raw comat code. Added replacements for the time functions on ESP8266. 885ff3e Merge pull request #6 from slaff/feature/lwip-raw d78e7a0 Initial version of axTLS integration with lwip raw tcp mode (http://lwip.wikia.com/wiki/Raw/TCP).
Restructured the lwip raw compatability code.
nice. Now nodemcu "supports" servo library. Which means the code is compiled but won't work |
So far, the Servo library is not supported. 4b73026#commitcomment-10456654
It would be nice if the library could be expanded to support the esp8266 as well; this is probably dependent on the PWM code being implemented.
The text was updated successfully, but these errors were encountered: