Thursday, 19 September 2013

Set up serial on start up Raspberry Pi

Set up serial on start up Raspberry Pi

I'm trying to set up so that I don't have to type in these two commands
after boot up (PI as user):
1) sudo CHMOD 777 /dev/ttyAMA0
2) sudo stty -F /dev/ttyAMA0 cs8 9600 -brkint -imaxbel -opost -onlcr -isig
-icanon -iexten -echo -echoe -echoctl -echoke noflsh -ixon -crtscts
Thanks

No comments:

Post a Comment