一、建立一个新的文件夹,新建三个文件夹User、Driver、Project,还可以加一个Doc存放工程的相关说明等等。 1、将STM32F2xx的库函数(HAL函数库)中的Drivers文件夹中的所有文件复制到Driver中。 2、找到.\STM32Cube_FW_F2_V1.1.0\Projec ...
分类:
其他好文 时间:
2017-06-03 16:12:51
阅读次数:
227
Linux Kernel: Linux内核,操作硬件(java不能主动操作硬件,c/c++可以操作硬件) 主要封装了各种驱动代码,通过驱动调用来实现对各种硬件操作Libraries: C代码依赖层 C/C++代码 封装Linux内核驱动代码 向上提供服务Android HAL: Android的硬件 ...
分类:
其他好文 时间:
2017-06-01 22:40:01
阅读次数:
306
参:http://www.cnblogs.com/linsu/p/5641158.html 默认用户已在极光添加应用 已拿到appKey; 1.进入项目根目录 2.添加jpush插件 3.修改plugins.xml 查看 jpushDemo》plugins》jpush-phonegap-plugin ...
分类:
其他好文 时间:
2017-06-01 17:46:22
阅读次数:
341
This blog talks about using dynamic programming to solve the famous back pack and its variant problems. BackPack I Given n items with size Ai, an inte ...
分类:
其他好文 时间:
2017-06-01 13:20:03
阅读次数:
182
借助 Linux 的 xargs 指令来完成 ...
分类:
数据库 时间:
2017-05-31 22:19:00
阅读次数:
333
private void button1_Click(object sender, EventArgs e) { Point ScrollMaxInfo = GetScrollPoint(panel1); Size ControlMaxSize = GetControlSize(panel1, Sc ...
public class ConsoleReader { public static IEnumerable<string> ReadFromBuffer( short x, short y, short width, short height ) { IntPtr buffer = Marshal ...
5月21日,请假结婚,然后性格惰性来了,不怎么想看视频和笔记,性格中的弱点开始出现,开始做的不错,渐渐开始松懈,直至放弃~~~ 函数补充进阶 函数对象 函数的嵌套 名称空间与作用域 闭包函数 函数之装饰器 函数之迭代器 函数之生成器 内置函数 函数对象 函数的嵌套 名称空间与作用域 闭包函数 一、函 ...
分类:
编程语言 时间:
2017-05-29 00:28:17
阅读次数:
292
Gappu has a very busy weekend ahead of him. Because, next weekend is Halloween, and he is planning to attend as many parties as he can. Since it's Hal ...
分类:
其他好文 时间:
2017-05-28 23:52:13
阅读次数:
345
#!/usr/bin/python3 import pymysql conn = pymysql.connect(host='10.60.10.11',port=3306,user='root',passwd='xxxxx',db='haoxx') cur = conn.cursor() cur.e... ...
分类:
数据库 时间:
2017-05-27 19:58:30
阅读次数:
226