CodeDroneDIY icon indicating copy to clipboard operation
CodeDroneDIY copied to clipboard

Raspberry Pico

Open pschatzmann opened this issue 3 years ago • 1 comments

Thanks for your project. this is great work.

I am trying to use your project on a Raspberry Pico. The only AVR specific functionality is in MotorsSpeedControl so I need to provide an alternative implementation.

I have one small doubt with the void MotorsSpeedControl::UpdateSpeed(int _id, float _PWM) method.

Is the _PWM argument the pulse width (in the range of MIN_POWER - MAX_POWER ? Or is it something else ?

The naming and data type got me a little bit confused...

pschatzmann avatar Mar 28 '21 19:03 pschatzmann

I have an implementation now: https://github.com/pschatzmann/pico-arduino/blob/main/examples/codedronediy I hope I did not get it wrong...

pschatzmann avatar Mar 29 '21 07:03 pschatzmann