Esc Library, It is open source based on Arduino.