Go to advanced search

by NIW2
Wed Nov 20, 2019 8:53 pm
Forum: Python
Topic: Problems installing pygame
Replies: 5
Views: 600

Re: Problems installing pygame

I'll try using python three, but I'm pretty sure the error comes from missing stuff involved with sdl.
by NIW2
Sun Nov 17, 2019 10:46 pm
Forum: Python
Topic: Problems installing pygame
Replies: 5
Views: 600

Problems installing pygame

I am trying to install pygame on a raspberry pi using raspbian lite. I get this error: https://www.reddit.com/r/raspberry_pi/ ... urce=share.
Any ideas what is going on?
by NIW2
Tue Jul 02, 2019 7:46 pm
Forum: Python
Topic: I2C lcd isnt working with multiprocessing(solved mp was not the issue))
Replies: 4
Views: 357

Re: I2C lcd isnt working with multiprocessing

something odd just happened. this code here works fine: import lcddriver import time from multiprocessing import Process lcd = lcddriver.lcd() lcd.lcd_clear() time.sleep(1) lcd.lcd_display_string("test line 1", 1) time.sleep(1) def outLoop(): while True: lcd.lcd_clear() lcd.lcd_display_string("Test ...
by NIW2
Tue Jul 02, 2019 6:44 pm
Forum: Python
Topic: I2C lcd isnt working with multiprocessing(solved mp was not the issue))
Replies: 4
Views: 357

Re: I2C lcd isnt working with multiprocessing

I have tried the lcd out of a thread in the same program, and in other programs and it works just fine.

I can copy some of the code, but it will be a few minutes.
by NIW2
Tue Jul 02, 2019 3:57 am
Forum: Python
Topic: I2C lcd isnt working with multiprocessing(solved mp was not the issue))
Replies: 4
Views: 357

I2C lcd isnt working with multiprocessing(solved mp was not the issue))

(i am quite new to coding and the rpi so bare with me pls) I am using multiprocessing to run 2 loops simultaneously, and when I try to use the lcd from one of these loops it gets a remote I/o error and I can no longer find the lcd when using the command: > sudo i2cdetect -y 1 (Also, the lcd works fi...

Go to advanced search