由于已经完成了第一个HELLO程序,标志着整个编译环境已经没有问题了,下来准备做一下串口测试程序。由于串口驱动开发板已经作好了,所以就作一个linux串口测试工具简单的数据收发看看。
linux串口测试工具网上常见的版本都看起来比较烦琐,下面是一个简单一点的,这个程序功能是收到10个字节后会发前7个字节,如果所发的数据的第一个字节是9则退出。
本帖最后由 seaquester 于 2010-04-20 09:00 编辑 linux串口测试程序 冷胜魁(Seaquester) lengshengkui@gmail.com 2009-11-18 这是以前在做一个基于ARM的项目的时候,写的一个简单串口测试程序,同样也适用于X86平台。程序很简单,运行是通过参数指定程序是发送端还是接收端。接收端运行之后就简单的读取串口数据,打印到stdout。发送端则接受键盘输入,通过串口发送出去。如果直接回车则表示发送完毕,通知接收端退出。 [cod...
#include
How well do you know your free software people, apps and commands? Put yourself to the test and see just how much you know - we don't think even Linus Torvalds knows all these... Round 1: People 1) Who drew the original picture of Tux, the linux mascot? (hint: he drew the Ximian monkey too) 2) Who originally wrote the editor Vi? 3) Which founder of a major linux distribution has spent 10 days in ...
本人有两年的软件测试经验,确切的说是手机的测试经验。 不过本人对linux非常感兴趣,在这工作的两年期间内一直在自学linux及perl语言,本人到目前只能说是一个入门的水平.....在这里不敢说大话,现在一直想换一个能够与linux有关的工作,请问各位我能找个什么样的职位? 或者我还需要准备什么其它的吗?另:本人自认为英语水平很好:mrgreen:
How well do you know your free software people, apps and commands? Put yourself to the test and see just how much you know - we don't think even Linus Torvalds knows all these... Round 1: People 1) Who drew the original picture of Tux, the linux mascot? (hint: he drew the Ximian monkey too) 2) Who originally wrote the editor Vi? 3) Which founder of a major linux distribution has spent 10 days...
[ SHELL 水平测试 ][ OVERVIEW 篇 ] 1. 有很多种 shell, 你熟悉几种? 各个 shell 的 home page 在那里? 2. 为什么说 zsh 是目前为止功能最为强大的 shell. 3. 为什么说 pdksh 功能较弱? 4. ksh88 与 ksh93 有何区别? 5. 为什么 shell 编程最好用 ksh? 6. 你的系统都有哪些 shell? 版本是多少? 7. 你知道 POSIX 吗?最新版本是多少?和你的 shell 有什么关系? 8. /sbin/sh 和 /bin/sh 有何区别? 9. 你分析过 1000...
今天,在linux和Windows下分别测试了DVB-T信号的解码功能。先上几张图: 这是Windows下的截图: 再上两张linux下的截图: 其中第二张是用xine来观看的,第三张是用totem,至于mplayer,由于截图截不了,所以就没上传。gstreamer、xine以及mplayer,个人还是比较偏向于mplayer。gstreamer虽说是刚兴起的解码库,但目前而言,对于DVB的支持,还不是很完善。mplayer是比较成熟的解码库,基本上支持你所用到的大部分的格式,...