Search found 6 matches

by codeboy66
Fri Dec 24, 2021 3:57 pm
Forum: Raspberry Pi microcontroller boards
Topic: i2c LCD not working properly
Replies: 6
Views: 26494

Re: i2c LCD not working properly

Thank you for your questions. No Problem. Yes, the addresses match! Yes - the frequency is the same. This is the scanning code: import machine sda=machine.Pin(0) scl=machine.Pin(1) i2c=machine.I2C(0,sda=sda, scl=scl, freq=400000) print('Scan i2c bus...') devices = i2c.scan() if len(devices) == 0: pr...
by codeboy66
Fri Dec 24, 2021 11:35 am
Forum: Raspberry Pi microcontroller boards
Topic: i2c LCD not working properly
Replies: 6
Views: 26494

i2c LCD not working properly

Hello, since a few days, I try to get a i2c lcd display with the PCF85744AT working. But i get this error: https://i.ibb.co/Xjtq0RZ/Screenshot-2021-12-24-121840.png" alt="Screenshot-2021-12-24-121840 I have no idea what could be wrong. And yes i've googled already and found some articles that say th...
by codeboy66
Sat Feb 27, 2021 6:36 pm
Forum: Raspberry Pi microcontroller boards
Topic: installing default libraries on pico
Replies: 7
Views: 14384

Re: installing default libraries on pico

I've found these files: https://github.com/micropython/micropyt ... rivers/dht
are they the files I need? (because the .py is too "short")
by codeboy66
Sat Feb 27, 2021 6:02 pm
Forum: Raspberry Pi microcontroller boards
Topic: installing default libraries on pico
Replies: 7
Views: 14384

Re: installing default libraries on pico

Thanks a lot! This is useful for external libraries!
But I asked how to use the MicroPython Libraries that came with micropython. e.g. the default dht library which I posted a link to.

Is there a way to use these "default" Libraries?
by codeboy66
Sat Feb 27, 2021 10:08 am
Forum: Raspberry Pi microcontroller boards
Topic: installing default libraries on pico
Replies: 7
Views: 14384

Re: installing default libraries on pico

cebersp wrote:
Sat Feb 27, 2021 9:57 am
Hi,
per rightclick on the library in thonny you can upload the file to the board.
Christof
What do you mean with "right-click on the library"? in the actual code or were?
by codeboy66
Sat Feb 27, 2021 9:15 am
Forum: Raspberry Pi microcontroller boards
Topic: installing default libraries on pico
Replies: 7
Views: 14384

installing default libraries on pico

hey, I'm very new to programming micropython, especially on the Raspberry Pi Pico :oops: I don't get Libraries working... I know that if I use a Library, I need to copy the library file also to the Pico (e.g. via Thonny). Currently, I'm trying to get the DHT sensor working... I saw that there is a d...