2018年9月11日
摘要: 仅扫描设备成功,暂时未在listview中显示,log中已经能打印出 阅读全文
posted @ 2018-09-11 15:23 snowdrop 阅读(1257) 评论(0) 推荐(0) 编辑
  2018年5月18日
摘要: java activity_main.xml AndroidManifest.xml 阅读全文
posted @ 2018-05-18 19:53 snowdrop 阅读(270) 评论(0) 推荐(0) 编辑
  2018年5月17日
摘要: platform_driver_register2种方式学习 1.platform_device_register与platform_driver_register配合使用: 实例代码摘自下述网址: 这样当两个name一样时,就会嗲用mt65xx_leds_probe这个函数了。 2.platfor 阅读全文
posted @ 2018-05-17 19:18 snowdrop 阅读(1292) 评论(0) 推荐(0) 编辑
摘要: static struct class *timed_output_class; timed_output_class = class_create(THIS_MODULE, "timed_output"); //会在sys/class/timed_output,会创建class节点。 device 阅读全文
posted @ 2018-05-17 17:04 snowdrop 阅读(120) 评论(0) 推荐(0) 编辑
  2018年5月15日
摘要: http://blog.chinaunix.net/uid-27164517-id-3299073.html 阅读全文
posted @ 2018-05-15 10:26 snowdrop 阅读(175) 评论(0) 推荐(0) 编辑
  2018年4月23日
摘要: http://www.laoliu-soft.net/dtb-fanbianyi/ 阅读全文
posted @ 2018-04-23 20:01 snowdrop 阅读(634) 评论(0) 推荐(0) 编辑
  2018年4月15日
摘要: https://blog.csdn.net/blioo/article/details/62050967 阅读全文
posted @ 2018-04-15 22:07 snowdrop 阅读(103) 评论(0) 推荐(0) 编辑
  2018年4月9日
摘要: 1.二级指针 2.指针数组 VS 数组指针 3.指针函数 VS 函数指针 1. *取内容,& 取地址。*一次,内容往前进一个,&一次,外面变量(指针)往后退一个 2.指针数组:数组里面全是指针 数组指针:一个指针,指向数组 int* a[4] 指针数组 表示:数组a中的元素都为int型指针 元素表示 阅读全文
posted @ 2018-04-09 17:02 snowdrop 阅读(217) 评论(0) 推荐(0) 编辑
  2018年4月3日
摘要: http://gityuan.com/2015/10/31/binder-prepare/ 阅读全文
posted @ 2018-04-03 16:08 snowdrop 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1. 看sensor I2C/GPIO两种访问步骤 2.常见设置的poll 数据频率 3. 阅读全文
posted @ 2018-04-03 16:00 snowdrop 阅读(89) 评论(0) 推荐(0) 编辑