Hi
When i receive msg from comport using read() command in a photon application, the pc response become very slow?
what could be the reason?
regards
R.Lakshmanan
Hi
When i receive msg from comport using read() command in a photon application, the pc response become very slow?
what could be the reason?
regards
R.Lakshmanan
Your program goes into a loop ?
Without more info that’s the only guess I can make.
Yeah - when/how are you doing the read in the photon app? If you aren’t using a second thread to do the reading you will be making the Photon app behave poorly. You can also go the route of using PtAppAddFd() to perform a select() like callback.