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