Controlling the movement of a 270 degree RC servo

You're getting confused. You can use writeMicroseconds() or write() but it's a bad idea to mix them up.

Write(0 is equivalent to writeMicroseconds(544). Write(180) is equivalent to writeMicroseconds(2400). The way this works is that the mis-named write(180) will send the servo to its full extent which not necessarily 180 degrees. If it's a 270 degree servo it will go 270. If it's only a 120 degree servo it will go 120.

If you want specific positions you need to do some calibration based your particular servo and then I would use writeMicroseconds().

Steve

1 Like