I have an m7 and hope to do use it to operate a brushless fan ESC. Arduino has an ESC library that allows pin, min, max, and arming values to be input to a fan esc. Anyone have advice how to pull this off on the m7 board? Trying to inflate a bellows to raise a standing desk converter when person stands in front of desk then lower when he sits. I would like to eliminate the arduino and go directly from the m7 to an inexpensive ESC. I did an analog write with the arduino to do a 0-255 output to the esc. it did not work (just beeped and twitched the motor a little) so i installed the ESC library to arduino and it worked fine. I don’t think that pyb.servo will do it(honestly haven’t tried yet), so hopefully someone smarter than i Can provide an example of how to command an esc fan from M7 to esc.
Thanks in advance.