You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, I am able to send and receive data serially from arduino to raspberry pi
and vice versa.
one more thing I notice is.
I am sending [Carriage Return(CR) character(0x0D)] [LineFeed(LF)
character(0x0A)] after the string as shown in attached pic(serialrawdata.png),
but it shows [0x0A][0x0A] in serialphp as shown in pic(phpoutput.png)
I am facing another problem.
I am sending raw data from arduino to raspberry pi.
all regular char ( A to Z , a to z , 0 to 9 ) can be received normally in $read
= $serial->readPort();
problem is when arduino sends 0x7F , one char is being deleted from $read.
I need to store each raw data.
how to solve this problem..?
Original issue reported on code.google.com by [email protected] on 13 Mar 2013 at 5:00
If you haven't already, look at issue 16.
I have had similar issues and were able to solve them by using setting the port
to the raw state using stty. 'stty -F /dev/portToSetup raw'
See stty man for more info.
I realize this post is nearly a year old but others may find this useful.
Original issue reported on code.google.com by
[email protected]
on 13 Mar 2013 at 5:00Attachments:
The text was updated successfully, but these errors were encountered: