Difference between revisions of "Matrix - Button/zh"
From FriendlyELEC WiKi
(→连接) |
(→Linux下的C示例) |
||
Line 13: | Line 13: | ||
===Linux下的C示例=== | ===Linux下的C示例=== | ||
− | <syntaxhighlight lang=" | + | <syntaxhighlight lang="c"> |
def quickSort(arr): | def quickSort(arr): | ||
less = [] | less = [] | ||
Line 22: | Line 22: | ||
else: | else: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
==相关资料== | ==相关资料== |
Revision as of 07:24, 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: