CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 嵌入式Linux 搜索资源 - c dev

搜索资源列表

  1. sound

    0下载:
  2. 其中sound.c 用于录音和回放。其中特别需要注意的是:1。目前声卡似乎不能打开全双工,所以如果fd = open(\"/dev/dsp\", O_RDWR) ,则无法录音和回放。只能分别设置RDONLY和WRONLY。即半双工方式。否则,就是在录音的时候可以听见,但是无法回放。分析下来似乎是IIC总线中只分配了一个通道给声卡,或者是只启用了一个通道,所以无法录音和放音同步进行。解决方法就是分别以RDONLY方式打开进行录音和WRONLY方式打开进行放音。 Sound1.c用于将录音保存在
  3. 所属分类:嵌入式Linux

    • 发布日期:2008-10-13
    • 文件大小:2.98kb
    • 提供者:杨浩
  1. led_linux2.4.18

    0下载:
  2. Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev //led test... testdev = op
  3. 所属分类:嵌入式Linux

    • 发布日期:2008-10-13
    • 文件大小:5.6kb
    • 提供者:Jia-Yang Chen
  1. nunchunk

    0下载:
  2. 使用i2c-dev 从smbus读取wii游戏手柄nunchunk数据,根据读取的x-position , y-position位置,画轨迹,改变颜色,刷新屏幕-Using i2c_dev.h to read data from nunchunk and draw the trajecty of it.Change color and refresh the screen. Z and C button are pressed to exit the program
  3. 所属分类:Embeded Linux

    • 发布日期:2017-04-09
    • 文件大小:8.86kb
    • 提供者:佑礼
  1. xitongdiaoyong

    0下载:
  2. 1:修改dev.c文件,定义一个全局变量int count=0 然后用它来统计包的个数。 2.修改sys.C文件,添加extern int count 然后定义自己的函数,asmlinkage int sys_mycall(void) 3.修改entry.S和unistd.h文件,为自己定义的函数增加系统调用号。 4.自己写个函数进行系统调用。-1: Modify dev.c file, define a global variable int count = 0 then use
  3. 所属分类:Embeded Linux

    • 发布日期:2017-04-02
    • 文件大小:55.69kb
    • 提供者:吴涛
  1. dm365_gpio_drv_yr

    0下载:
  2. dm365gpio口驱动,编译成功,可以轮流输出高低电平. 需要手动mknod,加载驱动后在命令行或在shell脚本里加入mknod /dev/dm365_gpio c 199 0-dm365gpio driver
  3. 所属分类:Embeded Linux

    • 发布日期:2017-04-03
    • 文件大小:9.9kb
    • 提供者:
  1. backlight_ctl

    0下载:
  2. 《背光控制程序》   根据Tiny6410厂家提供的内核源码中的触屏驱动(路径:drivers/input/touchscreen/mini6410_1wire_host.c),背光由设备</dev/backlight-1wire>控制,该设备提供了write方法,根据用户传入的亮度值(0 ~ 127)来设置背光。   程序由操作函数<backlight_ctl.c> ,头文件<backlight_ctl.h>,测试程序<test.c
  3. 所属分类:Embeded Linux

    • 发布日期:2017-03-28
    • 文件大小:1.51kb
    • 提供者:Joshua
  1. usb_camera

    0下载:
  2. capture.c是摄像头采集程序。可以采集照片。插上USB摄像头后看在/dev/下生成哪个video,需要将程序中改为相应的video。-capture.c is the camera capture program. You can capture photos. Plug in the USB camera after watching the/dev/generated under which video, you need to program into the correspondi
  3. 所属分类:Embeded Linux

    • 发布日期:2017-11-14
    • 文件大小:9.04kb
    • 提供者:dingzhou
搜珍网 www.dssz.com