[Microbit-Python] some questions (and where should I ask them normally?)

Matthew Else matthewelse1997 at gmail.com
Tue Sep 22 23:31:25 CEST 2015


There is a way of doing set_brightness (greyscale), however I'm not
entirely clear about how you would do it :p

On Tue, Sep 22, 2015 at 10:29 PM Larry Hastings <larry at hastings.org> wrote:

>
>
> On 09/22/2015 10:17 PM, Mariia Koroliuk wrote:
>
> Hello,
>
> I hope this is a right way to ask :) Please tell me how to do it properly!
> Is there come conversation somewhere with general queries?
>
> 1) How does the creating new Image work? For example, I want to define
>
> CHESS='1,0,1,0,1 \n 0,1,0,1,0 \n 1,0,1,0,1 \n 0,1,0,1,0 \n 1,0,1,0,1 '  (I
> think this is the form was discussed?)
>
>
> I believe that's the initializer for the constructor.  You need to make an
> Image object.
> chess = microbit.Image(CHESS)
> microbit.display.print(chess)
>
> Image might be inside microbit.display, I'm not sure.
>
>
>
> 2) How do I control the brightness of one pixel? Something like
>
> microbit.display.set_brightness (3,3,200)?
>
>
> The LEDs are either on or off.  No brightness control.
>
>
> */arry*
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/mailman/private/microbit/attachments/20150922/27375043/attachment.html>


More information about the Microbit mailing list