“Sensor-Color LED Reference”的版本间的差异
1196357542(讨论 | 贡献) |
|||
| (未显示2个用户的12个中间版本) | |||
| 第1行: | 第1行: | ||
| − | |||
{| style="width: 800px;" | {| style="width: 800px;" | ||
|- | |- | ||
| | | | ||
| + | |width="65%" valign="top" align="left"| | ||
| + | <p style="color: #E87E05;font-size:155%">描述</p> | ||
| + | 此页面主要介绍用Microduino/mCookie核心控制【[[Sensor-Color_LED/zh|Sensor-ColorLED]]】的使用方法 | ||
| − | + | 功能里列出了使用彩灯库可以调用的一些函数,每一函数里有其具体使用说明与示例 | |
| + | <br> | ||
| + | <br> | ||
| + | <br> | ||
| − | + | <p style="color: #E87E05;font-size:155%">引脚</p> | |
| − | + | 可通过【[[MCookie-Hub/zh|mCookie-Hub]]】 / 【[[Microduino-Module_Sensor_Hub/zh|Microduino-Hub]]】接Microduino/mCookie核心的D2-D13,A0-A3 | |
| − | |width=" | + | <br> |
| − | *'''Constructor/结构体''' | + | <br> |
| − | **'''[[ | + | <p style="color: #E87E05;font-size:155%">示例</p> |
| + | *[[点亮彩灯]]: | ||
| + | *[[彩灯呼吸闪烁效果]]: | ||
| + | *[[获取彩灯设置信息]]: | ||
| + | |||
| + | |||
| + | |width="35%" valign="top" align="left"| | ||
| + | ::<p style="color: #E87E05;font-size:155%">功能</p> | ||
| + | ::*'''Constructor/结构体''' | ||
| + | ::**'''[[ColorLED()]]''' | ||
| − | *'''Constants/常量''' | + | ::*'''Constants/常量''' |
| − | **'''[[ColorLED预定义颜色]]''' | + | ::**'''[[ColorLED预定义颜色]]''' |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ::*'''Functions/函数''' | |
| − | *'''Functions/函数''' | + | ::**'''Set/设置''' |
| − | **''' | + | ::***'''[[ColorLED.begin()|begin()]]''' |
| − | ***'''[[ColorLED. | + | ::***'''[[ColorLED.show()|show()]]''' |
| − | ***'''[[ColorLED. | + | ::***'''[[ColorLED.setPin()|setPin()]]''' |
| − | ***'''[[ColorLED. | + | ::***'''[[ColorLED.setPixelColor()|setPixelColor()]]''' |
| − | ***'''[[ColorLED. | + | ::***'''[[ColorLED.setOneLED()|setOneLED()]]''' |
| − | ***'''[[ColorLED. | + | ::***'''[[ColorLED.setAllLED()|setAllLED()]]''' |
| − | ***'''[[ColorLED. | + | ::***'''[[ColorLED.setBrightness()|setBrightness()]]''' |
| − | ***'''[[ColorLED. | + | ::***'''[[ColorLED.clear()|clear()]]''' |
| + | ::***'''[[ColorLED.updateLength()|updateLength()]]''' | ||
| + | :: | ||
| + | :: | ||
| + | ::*'''Functions/函数''' | ||
| + | ::**'''Get/获取返回值''' | ||
| + | ::***'''[[ColorLED.getBrightness()|getBrightness()]]''' | ||
| + | ::***'''[[ColorLED.getPin()|getPin()]]''' | ||
| + | ::***'''[[ColorLED.numPixels()|numPixels()]]''' | ||
| + | ::***'''[[ColorLED.Color()|Color()]]''' | ||
| + | ::***'''[[ColorLED.getPixelColor()|getPixelColor()]]''' | ||
|} | |} | ||
| + | |||
| + | 【[[Sensor-Color_LED/zh|返回Sensor-Color_LED界面]]】 | ||
| + | |||
| + | 【[[mCookie传感器编程手册]]】 | ||
2017年12月14日 (四) 05:50的最新版本
|
描述 此页面主要介绍用Microduino/mCookie核心控制【Sensor-ColorLED】的使用方法 功能里列出了使用彩灯库可以调用的一些函数,每一函数里有其具体使用说明与示例
引脚 可通过【mCookie-Hub】 / 【Microduino-Hub】接Microduino/mCookie核心的D2-D13,A0-A3
示例
|
|