There is an online documentation you can refer to
https://docs.micropython.org/en/latest/ ... yncio.html
You can also download a pdf of the doc that you can search in
http://docs.micropython.org/en/latest/m ... n-docs.pdf
Search found 76 matches
- Thu Aug 11, 2022 10:10 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Two buttons on the Pico W
- Replies: 10
- Views: 43484
- Thu Aug 04, 2022 4:31 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Connect pico to wifi without password
- Replies: 7
- Views: 4679
Re: Connect pico to wifi without password
In the MicroPython doc it is declared this way WLAN.connect(ssid=None, key=None, *, bssid=None) Connect to the specified wireless network, using the specified key. If bssid is given then the connection will be restricted to the access-point with that MAC address (the ssid must also be specified in t...
- Wed Jan 12, 2022 9:23 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Updating Pi Pico with MicroPython kills the flash drive
- Replies: 3
- Views: 6851
Re: Updating Pi Pico with MicroPython kills the flash drive
Openned Thonny v3.3.13 and started typing the same script as above: Python 3.7.9 (bundled) >>> from machine import Pin Traceback (most recent call last): File "<pyshell>", line 1, in <module> ModuleNotFoundError: No module named 'machine' >>> It seems you have selected the wrong interpreter in Thon...
- Tue Oct 05, 2021 3:17 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Time if times
- Replies: 22
- Views: 11793
Re: Time if times
The code below works in the Thonny interpreter but not with the Pico interpreter. There is only one interpreter. When using Thonny, the interpreter is the one of the Pico that you are executing. Thonny is just a super console. But, when you connect the Pico to Thonny, Thonny sends the current time ...
- Sat Sep 25, 2021 7:23 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Print message when same button is pressed
- Replies: 8
- Views: 3430
Re: Print message when same button is pressed
The program needs to remember wich button was previously pressed.
And you then compare the currently one and the previous and if it matches you print an error.
So, when a button is pressed you put the button number in a variable for later use.
And you then compare the currently one and the previous and if it matches you print an error.
So, when a button is pressed you put the button number in a variable for later use.
- Thu Sep 23, 2021 6:47 am
- Forum: Raspberry Pi microcontroller boards
- Topic: I2C.scan() returns nothing.
- Replies: 13
- Views: 9548
Re: I2C.scan() returns nothing.
Are you sure there are pullup resistors on SDA and SCL signals?
AdaFruit QTPy RP2040 has none on either I2C0 or I2C1. So a pair of resistors shall be at least on one of the boards you are connecting, otherwise you 'll have to add them yourself.
AdaFruit QTPy RP2040 has none on either I2C0 or I2C1. So a pair of resistors shall be at least on one of the boards you are connecting, otherwise you 'll have to add them yourself.
- Sun Sep 19, 2021 7:25 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Beginner needs active buzzer help
- Replies: 2
- Views: 2555
Re: Beginner needs active buzzer help
Any link to the charateristics of the active buzzer?
This will help define the interface between Pico and the buzzer.
This will help define the interface between Pico and the buzzer.
- Wed Sep 15, 2021 3:29 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: RTC (Where / How is it working)
- Replies: 10
- Views: 7156
- Thu Aug 26, 2021 8:01 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico LCD 1.14 Terminal Display
- Replies: 1
- Views: 2675
Re: Pico LCD 1.14 Terminal Display
I suppose you are talking about that display https://shop.pimoroni.com/products/pico-display-pack If so, there are code examples here https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/pico_display Beware that Pimoroni has its custom Micropython embedding some libraries that yo...
- Wed Aug 18, 2021 10:55 am
- Forum: Raspberry Pi microcontroller boards
- Topic: How to let the Raspberry Pi run the program out of the compiler?
- Replies: 2
- Views: 2117
Re: How to let the Raspberry Pi run the program out of the compiler?
Your question is a bit unclear. I suppose you are talking about a Raspberry Pi Pico. Do you mean you have manually entered your code in the REPL using some kind of terminal software and want to save it? The REPL is more a way test short pieces of code it is not meant at developping applications. As ...