1 osTimerId timer; 2 3 uint32_t cnt=0; 4 void timerHandler( void * arg ) 5 { 6 cnt++; 7 osTimerStart( timer, 100 ); 8 } 9 10 osTimerDef( timer, ...
分类:
其他好文 时间:
2014-07-19 14:38:22
阅读次数:
282
1 package hhuarongdao;2 3 public class example {4 public static void main(String args[])5 {6 new Hua_Rong_Road();7 }8 } 1 package hhuarongdao...
分类:
编程语言 时间:
2014-07-19 09:18:35
阅读次数:
291
1 struct Thread0_Mail 2 { 3 int a; 4 int b; 5 }; 6 7 osMailQId thread0_mail; 8 osMailQDef( thread0_mail, 10, struct Thread0_Mail ); 9 10 struct ...
分类:
其他好文 时间:
2014-07-19 09:03:28
阅读次数:
1090
1 /*---------------------------------------------------------------------------- 2 * RL-ARM - RTX 3 *-----------------------------------------...
分类:
其他好文 时间:
2014-07-19 08:37:42
阅读次数:
276
1 /*---------------------------------------------------------------------------- 2 * RL-ARM - RTX 3 *--------------------------------------...
分类:
其他好文 时间:
2014-07-19 08:36:36
阅读次数:
329
1 /*---------------------------------------------------------------------------- 2 * RL-ARM - RTX 3 *--------------------------------------...
分类:
其他好文 时间:
2014-07-19 08:34:42
阅读次数:
265
12 #include 3 4 #include "bsp-fifisdr.h"5 6 #include "lpclib.h"7 #include "task-gui.h"8 9 10 #define GUI_QUEUE_LENGTH ...
分类:
其他好文 时间:
2014-07-19 08:33:01
阅读次数:
283
Problem Description
Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5...
分类:
其他好文 时间:
2014-07-19 08:25:40
阅读次数:
224
Double 四舍五入保留小数:
/**
* @example roundUpNumber(20.47, 0) = 20.5, roundUpNumber(20.449, 1) = 20.45 * @description round up double number * @param Double d * @param Integer index * @return *...
分类:
其他好文 时间:
2014-07-19 08:08:55
阅读次数:
219
Douglas Crockford classified the "class methods" in JavaScript into three types:
private, privileged and public.
Public methods have an obvious meaning: they can be accessed by the public.
Priv...
分类:
编程语言 时间:
2014-07-19 02:31:05
阅读次数:
282