Radomir Dopieralski
Radomir Dopieralski
There are no such functions, but they are trivial to write -- it's just a simple proportion.
You can take a look at my Servo class for the Micro:bot here: https://bitbucket.org/thesheep/micro-bot/src/6bd959f7753019654f0e2e2e449211282b0496c5/bot.py?at=default&fileviewer=file-view-default#bot.py-4:13
The problem is, the exact values for minimum and maximum pulse width, as well as how many microseconds correspond to how many degrees is not standard -- every servo model...
Ah, just `set_servo_pulse_us` sounds good!
Do we also want to support different frequencies than 50Hz? If I remember correctly, digital servos can do up to 300Hz, which results in much smoother movement.
The microcontroller on the micro:bit is not USB-capable, instead, there is a separate small chip on the board that acts as a USB-to-serial converter and as a programmer for the...
Hmm... so it seems they have a bug in the readthedocs, as this doesn't seem to work as expected. - I created a fork of the microbit micropython repository: https://github.com/deshipu/microbit-micropython-pl...
> If that's the case I think that would fragment the documentation, it would be a bit weird that people that would want to update or complete the official documentation...
> The result is that the default URL for the microbit-micropython-pl changed to http://microbit-micropython.readthedocs.io/pl/latest/ but that page returns a 404. This issue fixed itself overnight (probably some caching thing somewhere)...
> Is there a way of marking a translation to be in progress and highlight it is not finished yet? Should the issue to add the translation be raised as...