Difference between revisions of "Matrix - Button/zh"
From FriendlyELEC WiKi
Line 1: | Line 1: | ||
==介绍== | ==介绍== | ||
− | [[File:Btn01.jpg]] | + | [[File:Btn01.jpg|thumb|Btn01]] |
该按键在未按时输出高电平,按下后输出低电平。 | 该按键在未按时输出高电平,按下后输出低电平。 | ||
==特性== | ==特性== | ||
− | + | * 3 PIN | |
+ | * 尺寸(TODO) | ||
==使用方法== | ==使用方法== | ||
Line 10: | Line 11: | ||
*连接到Tiny4412 SDK | *连接到Tiny4412 SDK | ||
===Linux下的C示例=== | ===Linux下的C示例=== | ||
+ | <syntaxhighlight lang="python"> | ||
+ | def quickSort(arr): | ||
+ | less = [] | ||
+ | pivotList = [] | ||
+ | more = [] | ||
+ | if len(arr) <= 1: | ||
+ | return arr | ||
+ | else: | ||
+ | </syntaxhighlight> | ||
+ | |||
==相关资料== | ==相关资料== |
Revision as of 07:14, 9 July 2015
1 介绍
该按键在未按时输出高电平,按下后输出低电平。
2 特性
- 3 PIN
- 尺寸(TODO)
3 使用方法
3.1 连接
- 连接到Tiny4412 SDK
3.2 Linux下的C示例
def quickSort(arr): less = [] pivotList = [] more = [] if len(arr) <= 1: return arr else: