Closed
Description
The standard Arduino API analogWrite()
takes a value from 0-254. The Esp Arduino version defaults to a 10 bit value. This makes code incompatible between all other Hardware and leads to confusion on the part of users.
analogWrite()
should be modified to default to 8bit and the standard analogWriteResolution()
should be implemented to set the resolution to 10bit (and/or what ever else it can support).