[free-electronic-lab] Using the NavChip with fedora
Ankur Sinha
sanjay.ankur at gmail.com
Tue Jul 31 07:50:26 UTC 2012
On Tue, 2012-07-31 at 17:32 +1000, Ankur Sinha wrote:
> Hi Shakti,
>
>
I think I managed to get it to work (completely by random
experimentation):
> [root at ankur ~]# stty -F /dev/ttyUSB0 921600 clocal
> [root at ankur ~]# chmod 0777 /dev/ttyUSB0
> [ankur at ankur Navchip]$ echo -ne "\xA5\x00\x5b" > /dev/ttyUSB0 #PING
>
> [ankur at ankur Navchip]$ echo -ne "\xA5\x05\x56" > /dev/ttyUSB0 # start streaming
I had cat /dev/ttyUSB0 > log.txt in another terminal, and the file is
full of data :D
I still need to understand what I exactly did, and why it worked etc.,
but I'm sure the web will have this info.
--
Thanks again,
Warm regards,
Ankur: "FranciscoD"
Please only print if necessary.
Looking to contribute to Fedora? Look here: https://fedoraproject.org/wiki/Fedora_Join_SIG
http://fedoraproject.org/wiki/User:Ankursinha
http://dodoincfedora.wordpress.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/electronic-lab/attachments/20120731/8f7a788b/attachment.sig>
More information about the electronic-lab
mailing list