Search found 51 matches

by beetle
Tue Apr 12, 2022 6:27 pm
Forum: Pyboard D-series
Topic: Did not read the small print.
Replies: 5
Views: 31663

Re: Did not read the small print.

Small imprints sometimes really make tasks harder. Is the board functioning? Or that is making problem too? I only got the large normally pin spaced additional board into which the D board fits today, and the D board has not yet been used. Lots of pins to solder so first use is some weeks away. ;)
by beetle
Tue Apr 12, 2022 12:36 pm
Forum: Raspberry Pi microcontroller boards
Topic: mqtt_as Arduino RP2040 Connect
Replies: 25
Views: 17441

Re: mqtt_as Arduino RP2040 Connect

The message about "expected 1.4.8" must be referring to the NINA-W102 module firmware. This can be upgraded using this procedure but (see my posts above) I didn't find this easy. It's worth doing, but it won't fix your problem. The difficulties connecting really shouldn't happen. I think there is n...
by beetle
Mon Apr 11, 2022 9:50 pm
Forum: Raspberry Pi microcontroller boards
Topic: mqtt_as Arduino RP2040 Connect
Replies: 25
Views: 17441

Re: mqtt_as Arduino RP2040 Connect

Did you link gnd and rec , then press the button? You can remove the link after a few seconds, but copying the file should then work. That procedure has been reliable here. Dear Peter, Yes I was shorting the rec to ground but I gave it another go. First try, again nope, the circuitpython drive disa...
by beetle
Sun Apr 10, 2022 11:23 am
Forum: Raspberry Pi microcontroller boards
Topic: mqtt_as Arduino RP2040 Connect
Replies: 25
Views: 17441

Re: mqtt_as Arduino RP2040 Connect

If anyone can confirm the behaviours I'm seeing with .ifconfig and umqtt.simple I'll raise tickets. I'd like to have a go but, following along with the info in the doc found in the Arduino web page about how to install micropython has resulted in a complete and utter failure to install. The Circuit...
by beetle
Sat Apr 09, 2022 6:37 pm
Forum: Pyboard D-series
Topic: Did not read the small print.
Replies: 5
Views: 31663

Did not read the small print.

I thought I would get a pyboard and the small D-series, being the only one currently available, was purchased without too much thought. But when I received it I got a bit of a shock as I did not realise those pin holes were so blooming small. It looks just fine in the pictures. I've just ordered the...
by beetle
Sat Apr 09, 2022 6:10 pm
Forum: Raspberry Pi microcontroller boards
Topic: mqtt_as Arduino RP2040 Connect
Replies: 25
Views: 17441

Re: mqtt_as Arduino RP2040 Connect

Some six months ago I don't think there was a micropython verion available for this board so I put CircuitPython on it. A couple of days ago I saw there were instruction form Arduino on how to put micropython on the board so I followed along. After coping the ARDUINO_NANO_RP2040_CONNECT-20220117-v1....
by beetle
Fri Mar 11, 2022 4:17 pm
Forum: Other Boards
Topic: /flash confused
Replies: 5
Views: 30372

/flash confused

I put micropython on my Teensy 4.1 board (latest from a couple of weeks ago). Using Thonny I notice that the filesystem of the Teensy board starts at /flash. That is I can only download files and create directories from /flash. I cannot create a /lib dir - I can try but I do not end up with a /lib d...
by beetle
Tue Mar 08, 2022 7:52 pm
Forum: Raspberry Pi microcontroller boards
Topic: .irq().flags() - what is this?
Replies: 2
Views: 4347

Re: .irq().flags() - what is this?

A little progress - I found this: irq.flags() get the triggers that caused the current irq. Only returns useful values when called inside the irq handler. The flags are cleared automatically when leaving the handler, therefore, this method always returns 0 when called outside. in a document: https:/...
by beetle
Tue Mar 08, 2022 1:03 pm
Forum: Raspberry Pi microcontroller boards
Topic: .irq().flags() - what is this?
Replies: 2
Views: 4347

.irq().flags() - what is this?

Im learning about micropython on the rpi pico. In the Pi Pico Python SDK doc it shows a nice example of setting interrupts. from machine import Pin p2 = Pin(2, Pin.IN, Pin.PULL_UP) p2.irq(lambda pin: print("IRQ with flags:", pin.irq().flags()), Pin.IRQ_FALLING) And it works, when I press a button at...
by beetle
Sat Oct 16, 2021 9:59 pm
Forum: General Discussion and Questions
Topic: MQTT breaks infinite loop
Replies: 11
Views: 7256

Re: MQTT breaks infinite loop

And to answer my own question on creating mpy files: I don't know why theres all this 'do make' malarky. After faffing about I found the following which I give for anyone else looking for an easy answer: 1. import mpy_cross into python running on your computer - well it worked on my mac computer. pi...