Questions tagged as 'pyserial'

2
answers

Reading data from the serial port hangs my GUI

I'm doing an access control application in Python. I have a window in PyQt5, which has a running clock and a connection to an Arduino, which is the one that will read a card through its corresponding NFC. The fact is that for the two tasks (c...
asked by 07.07.2018 / 21:56
0
answers

I need to graph the data of a sensor in python and when the figure is opened it does not respond. Is there a problem in the code?

I need to graph in real time the values I read from a sensor connected to a mega arduino. This is the arduino code: void setup() { Serial.begin(19200); } void loop() { int num = analogRead(A0); Serial.println(num); delay(50); } and the co...
asked by 18.02.2018 / 02:53