Search found 19 matches

by lujo
Mon Dec 14, 2020 12:27 pm
Forum: micro:bit boards
Topic: Maqueenplus
Replies: 4
Views: 412

Re: Maqueenplus

Hi,

Try this: go to https://www.dfrobot.com/forum/viewforum.php?f=7 (the Products
forum) and click Robotics. Search for micropython, read the post by nana.wang.

lujo
by lujo
Sun Dec 13, 2020 11:39 pm
Forum: micro:bit boards
Topic: Maqueenplus
Replies: 4
Views: 412

Re: Maqueenplus

Hi, Check out: https://www.dfrobot.com/forum/viewtopic.php?p=42615&sid=636ac201cf429df75c830eb104e17176#p42615 That did not help me: downloads mu-editor with maqueen library distributed as MS-Windows installer file. No MS-Windows here. So, figured it out by sending bytes to i2c addr, see what happen...
by lujo
Fri Jul 17, 2020 7:08 am
Forum: micro:bit boards
Topic: from machine import Pin
Replies: 3
Views: 1069

Re: from machine import Pin

Hi, MicroPython v1.9.2-34-gd64154c73 on 2017-09-01; micro:bit v1.0.1 with nRF51822 Type "help()" for more information. >>> >>> import microbit >>> [p for p in dir(microbit) if p.startswith('pin')] ['pin0', 'pin1', 'pin2', 'pin3', 'pin4', 'pin5', 'pin6', 'pin7', 'pin8', 'pin9', 'pin10', 'pin11', 'pin...
by lujo
Thu Jun 11, 2020 8:45 am
Forum: micro:bit boards
Topic: GPIO pin dafault settings
Replies: 3
Views: 905

Re: GPIO pin dafault settings

Hi,

9 pins for GPIO input/output, NO_PULL, PULL_UP, PULL_DOWN,
8 pins control display and buttons (display.on(), display.off()),
2 pins for I2C (accelerometer and compass).

If 9 pins won't do, get a second micro:bit and use the radio
to control the first, get its data and show its messages.
by lujo
Mon Dec 30, 2019 10:24 am
Forum: micro:bit boards
Topic: [SOLVED] Can't obtain repl over USB using screen on micro:bit
Replies: 10
Views: 2763

Re: Can't obtain repl over USB using screen on micro:bit

Hi, Get a list of your micro:bit serial addresses: #!/usr/bin/python3 from serial.tools.list_ports import comports as serial_ports def find_microbits(): lst = [] for port in serial_ports(): if "VID:PID=0D28:0204" in port.hwid: lst.append(port.device) return lst ports = find_microbits() if ports: pri...
by lujo
Fri Dec 27, 2019 12:28 am
Forum: micro:bit boards
Topic: [SOLVED] Can't obtain repl over USB using screen on micro:bit
Replies: 10
Views: 2763

Re: Can't obtain repl over USB using screen on micro:bit

Hi, Or MicroPython has been overwritten (with a Microsoft MakeCode program or something like that). Plug in the micro:bit, wait until your PC has detected the microbit, you now have a device file. Start the mu-editor. Click New, then click Flash. This will install the MicroPython runtime. Click REPL...
by lujo
Thu Dec 26, 2019 10:51 pm
Forum: micro:bit boards
Topic: [SOLVED] Can't obtain repl over USB using screen on micro:bit
Replies: 10
Views: 2763

Re: Can't obtain repl over USB using screen on micro:bit

Hi,

Maybe there is a program running. Hit Ctrl-C few times.

lujo
by lujo
Thu Dec 26, 2019 10:45 pm
Forum: micro:bit boards
Topic: [SOLVED] Can't obtain repl over USB using screen on micro:bit
Replies: 10
Views: 2763

Re: Can't obtain repl over USB using screen on micro:bit

Hi,

Works for me. So, what micro USB cable are you using, power only
or power plus data micro USB cable?

lujo