earlephilhower on master
POST http client example (#2704… (compare)
writeMicroseconds()method instead. The servo library is written to compatible with the normal Arduino library, so you can use their docs for reference.
@geman220 Review the Arduino Servo Reference. you are setting the microseconds, not angle. These are the helpful values ...
#define MIN_PULSE_WIDTH 544 // the shortest pulse sent to a servo #define MAX_PULSE_WIDTH 2400 // the longest pulse sent to a servo #define DEFAULT_PULSE_WIDTH 1500 // default pulse width when servo is attached
When you "attach" the Servo, you can provide your own min and max like
Servo.attach(pin, 500, 2500); // use an extended range
there is a parameter for it.
bool softAP(const char* ssid, const char* passphrase = NULL, int channel = 1, int ssid_hidden = 0);
note: the Parameter may by overriden when you use the STA mode too the ESP can only work on one channel and STA mode has priority.