I went to running a web service with very easy servo control
i control servo by i2c pwm ic,
i must write new value every 10ms to pwm ic.
but the server.handleClient() takes about 100ms to finish a request.
how can i avoid there thing.
can i make a high priority interrupt for servo control?
using arduino ide.
Running Web Server but no delay to PWM
-
- Posts: 3
- Joined: Thu Feb 23, 2017 5:50 pm
Re: Running Web Server but no delay to PWM
Postby pratik » Wed Mar 01, 2017 2:12 pm
Are you using SSL?
And it should not take that long for server to respond, but I am not familiar with the Arduino IDE implementation for ESP8266. Maybe the libraries are sloppy?
You can try an empty handler to see how long it takes to exit...
And it should not take that long for server to respond, but I am not familiar with the Arduino IDE implementation for ESP8266. Maybe the libraries are sloppy?
You can try an empty handler to see how long it takes to exit...
Who is online
Users browsing this forum: No registered users and 60 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
-
- All times are UTC+08:00
- Top
- Delete all board cookies
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.