voidLED_Init(void)GPIO_InitTypeDefGPIO_InitStructure;RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA,ENABLE); // 使能PA端口时钟(RCC时钟你可以先不用看)GPIO的库函数库函数中主要用到的有如...
分类:
其他好文 时间:
2015-03-14 09:34:19
阅读次数:
172
public static String DEPLOY_PATH = null;
static
{
String CurrentClassFilePath = Constant.class.getResource("").getPath();
int lastpath = CurrentClassFilePath.lastIndexOf("WEB-INF/");
DEPLOY_PA...
分类:
编程语言 时间:
2015-03-13 18:45:02
阅读次数:
146
episode 3--storage structure. ampersand operate with asterisk--library functionepisode 4--generic function 泛型函数swap(void* pa,void*pb,int size);-----am...
分类:
其他好文 时间:
2015-03-12 19:08:47
阅读次数:
144
http://webdesignledger.com/inspiration/40-excellent-examples-of-single-page-websiteshttps://onepagelove.com/http://www.awwwards.com/websites/single-pa...
分类:
其他好文 时间:
2015-03-12 00:47:05
阅读次数:
161
1、先从官网下载PortAudio安装包和文档http://www.portaudio.com/download.html
PortAudio安装包:pa_stable_v19_20140130.tgz
文档:pa_stable_doxydocs_20140130.tgz
记住安装包最好不要放在中文路径下。
2、打开文档中的compile_mac_coreaudio.html
3、打开...
分类:
系统相关 时间:
2015-03-11 23:34:04
阅读次数:
707
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-03-11 21:29:40
阅读次数:
112
1.打开sublime,查看 -> 控制台,键入以下代码sublime 2:import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Pa...
分类:
Web程序 时间:
2015-03-11 16:28:12
阅读次数:
6184
1.virtual memory =physical memory + swap2.page fault:a type ofinterrupt, calledtrap, raised by the hardware when a running program accesses amemory pa...
分类:
其他好文 时间:
2015-03-10 21:11:42
阅读次数:
127
if (openMxdDialog.ShowDialog() == DialogResult.OK) { pathMXD = openMxdDialog.FileName; if (pa...
分类:
其他好文 时间:
2015-03-10 12:02:46
阅读次数:
128
第11章 关联容器
1. 使用map的简单例子:
运行结果为:
2. 初始化map和set:
3. set与multiset的区别:
4. 使用map和set时,其元素类型必须是定义了严格弱序的(即定义了号比较的),如果元素类型没有定义
5. pair类型:pair是一个用来生成特定类型的模板. pa...
分类:
编程语言 时间:
2015-03-09 10:58:03
阅读次数:
294