[Microbit-Python] PWM duty cycles

Damien George damien.p.george at gmail.com
Wed Jan 6 16:48:05 EST 2016


It's correct.  The actual delay is the sum of all previous values.

On Wed, Jan 6, 2016 at 9:18 PM, Chris Foresman <foresmac at gmail.com> wrote:
> I’m looking at the list of constants, and I can’t help but think brightness 1 and 2 or possible reversed:
> https://github.com/bbcmicrobit/micropython/blob/master/source/microbit/microbitdisplay.cpp#L193-L206
>
> Or maybe I’m crazy?
>
>
>
> Chris Foresman
> chris at chrisforesman.com
>
>
>
>> On Jan 6, 2016, at 12:57 PM, microbit-request at python.org wrote:
>>
>> We actually use an exponential scale of pwm duty-cycles, rather than bcm:
>> https://github.com/bbcmicrobit/micropython/blob/master/source/microbit/microbitdisplay.cpp#L193
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit


More information about the Microbit mailing list