May-19-2019, 07:10 PM
(This post was last modified: May-19-2019, 07:10 PM by DJ_Depannage.)
Hello People,
I have problem with my script and I need your help please
i use this :
and push button with Arduino card connect to bluetooth with Raspberry
With library from HZELLER RPI-RGB-LED-MATRIX
Python does not execute any command while a text is displayed on the matrice.
Of course, if I manually call the python file to send the SIGINT signal, everything works.
Could you give me an additional indication to solve this problem please ?
I have problem with my script and I need your help please
i use this :
and push button with Arduino card connect to bluetooth with Raspberry
With library from HZELLER RPI-RGB-LED-MATRIX
Python does not execute any command while a text is displayed on the matrice.
Of course, if I manually call the python file to send the SIGINT signal, everything works.
Could you give me an additional indication to solve this problem please ?
ser = serial.Serial('/dev/rfcomm0', 9600) // Connect to the bluetooth while True: result = ser.read() print(result) if result == 'f' : os.system("sudo python ./30.py") // It's display the text on the matrice (library from HZELLER). I Need to do CTRL+C to stop the process. if result == '7' : os.system("sudo python ./killprocess.py") // It's not execute because 30.py is launched