A
Arduino3mo ago
Kfir.c7

A problem while socket

I have a program where i use socket to communicate with my pc and raspberry pi i send through the computer data which is 2 numbers and like 1800,2200 for example i use Arduino to control the data and then i send it to pi but after a while my pi just says too many values to unpack i tried to put time.sleep(0.1) but still happens
3 Replies
MaderDash
MaderDash3mo ago
Sounds like an issue that would happen with python.. Your coding in c++ right? Cause that shouldn't happen in cpp
Kfir.c7
Kfir.c7OP3mo ago
Nvm Someone in python community helped me
MaderDash
MaderDash3mo ago
I figured a python thing we dot get that in cpp

Did you find this page helpful?