ChinaUnix.net
相关文章推荐:

LED 亮度电流曲线

luminary cm3的目标板是ekk8962,提供了5种实现PWM控制led亮度的方法,从多个角度说明如何使用djyos编写应用程序,分别对应5个keil MDK工程文件,这5个程序的功能完全相同,即控制led渐亮渐暗循环不已。请到http://www.djyos.com/bbs/read.php?tid=33下载源代码,代码中包含5个工程,prj-ekk8962-1~5,每个工程对应一种方法,在共享包中有说明。 prj-ekk8962-1:PWM控制完全用事件,不用中断实现。 prj-ekk8962-2:PWM控制主要用...

by djyos - 都江堰操作系统 - 2009-10-15 17:08:59 阅读(1712) 回复(0)

相关讨论

/* the program works on my ARM, i am so happy! when i insmod led2.ko (led2 is this file), two leds extingushed at once. then i#mknod /dev/leds c 231 0 #./ledapp 0 1 one of them is lighted again. */ #include #include #include #include #include #include //Please configure your kernel first to use the following headers, because the directory "asm" is a short cut to your arch's "asm" directory...

by happypeter - Linux文档专区 - 2008-03-05 23:31:15 阅读(526) 回复(0)

;
; IDE环境: TX2440A、ADS
; 功能描述:led点灯程序
;    只点亮灯,其他初始化都没做

; 硬件连接:   led1 -- GPF0
;              led2 -- GPF1
;         &nbs...

by luozhiyong131 - 移动操作系统 - 2011-12-22 08:51:03 阅读(421) 回复(0)

S3C2440 led 驱动的编写


我用的板子使用引脚GPB5~7外节三个led

此驱动参考卫东山的书籍编写的

操作步骤:

(1)、引脚功能设置位输出。

(2)、要点亮led,令引脚输出0。

(3)、要熄灭led,令引脚输出1。

1、led驱动代码。

 

stati...

by gududesiling - 移动操作系统 - 2011-12-20 09:44:14 阅读(612) 回复(0)

led驱动 好就没写了,虽然写的比较烂。但是一定要坚持。坚持学习,坚持记录。 这段时间写了两个小小的驱动,很简单。还看了一下书。led的驱动和BUTTON的驱动。 现在先说下led的感觉 首先是设备注册函数: 1.发现原来2.6内核和2.4内核提倡的注册设备方法是不同的。很多资料上面都说尽量使用固定的主设备号,但是在《linux设备驱动程序》书中说尽量使用动态分配的方法,我想这个也是linux发展的方向。 2.在2.4中用来...

by liubaifu - Linux文档专区 - 2008-12-06 02:31:18 阅读(630) 回复(0)

led测试 由HELLO驱动模块熟悉了驱动模块的基本编写方法。下面要开始做一个真正有用的驱动—led驱动。象普通单片机一样,先从IO控制开始。IO控制首先就要知道地址和个控制寄存器,先翻DATASHEET了。由于开发板的led是接在PIOA上的。先找地址 再看寄存器 #1 PIO Controller PIO Enable Register Name:PIO_PER Access Type: Write-only ?P0-P31: PIO Enable 0 = No effect. 1 = Enables the PIO to control the corresponding pin (...

by arm31 - Linux文档专区 - 2008-07-18 16:34:50 阅读(838) 回复(0)

---------- Dump Progress Indicator ---------- 0c0 The dump completed successfully 0c1 The dump failed due to an I/O error. 0c2 A user-requested dump has started. You requested a dump using the SYSDUMPSTART command, a dump key sequence, or the Reset button. 0c3 The dump is inhibit 0c4 The dump did not complete. A partial dump was written to the dump device. There is not enough space on ...

by tomcent_2006 - AIX文档中心 - 2008-06-19 22:45:52 阅读(2154) 回复(2)

文件: led解释.rar 大小: 137KB 下载: 下载 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/9606/showart_169126.html

by promisures - AIX文档中心 - 2006-09-11 09:22:50 阅读(1097) 回复(0)

二极管是一种非线性元件,换言之他的电流和电压不是线性关系:\n\n\n如果我们慢慢提高二极管两端的电压,\n从这张示意图上可以看出,在最开始时,电流的增长非常的微弱。\n而到后来电流开始随着电压提升而提升。\n到较高电压的时候,即便是很小的电压提升,比如零点几伏,电流的增长将是成倍的。\n\n\n在电压低电流很微小的这个阶段,发光二极管基本上是不亮的。\n而在电压较高的阶段,即便微小的电压变化,也会造潮勘康溺流变化极...

by ball - 企业网管技术交流区 - 2005-11-20 14:51:49 阅读(3166) 回复(0)

RS/6000液晶显示屏上显示代码(led)的含义 本文介绍RS/6000启动过程中机器上的液晶显示屏代码的含义。本文代码不针对具体机型。 ---------- Dump Progress Indicator ---------- 0c0 The dump completed successfully 0c1 The dump failed due to an I/O error. 0c2 A user-requested dump has started. You requested a dump using the SYSDUMPSTART command, a dump key sequence, or the Reset button. 0c3 The dump i...

by kimdai - AIX - 2004-02-10 13:16:28 阅读(1233) 回复(0)