“Lixie库”的版本间的差异
第21行: | 第21行: | ||
+ | {| border="0" cellpadding="10" width="100%" | ||
+ | |- | ||
+ | |width="60%" valign="top" align="left"| | ||
<br> | <br> | ||
− | <font color="orange" size="+1">'''Lixie | + | <font color="orange" size="+1">'''Lixie 函数'''</font><br><br> |
<!--<font color="dodgerblue" >'''BLACK 0'''</font>--> | <!--<font color="dodgerblue" >'''BLACK 0'''</font>--> | ||
− | - <font color="forestgreen"> | + | - <font color="forestgreen">Lixie(const uint8_t pin, uint8_t nDigits)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">begin()</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">clear(bool show_change = true)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">show()</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">write(uint32_t input)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">write(char* input)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">write_digit(byte input, byte index)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">push_digit(byte number)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color(byte r, byte g, byte b)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color(CRGB c)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color(byte r, byte g, byte b, byte index)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color(CRGB c, byte index)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color_off(byte r, byte g, byte b)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color_off(CRGB c)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color_off(byte r, byte g, byte b, byte index)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color_off(CRGB c, byte index)</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">brightness()</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">color_balance()</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">max_power()</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">get_numdigits()</font> |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">maxed_out()</font> |
− | + | 给data数组添加值 | |
− | + | 参数 无 | |
− | - <font color="forestgreen"> | + | 返回值 |
+ | :bool | ||
+ | - <font color="forestgreen">get_leds()</font> | ||
− | + | 给data数组添加值 | |
− | + | 参数 无 | |
− | + | 返回值 | |
+ | :CRGB* | ||
− | + | |width="40%" valign="top" align="left"| | |
− | + | <br> | |
− | + | <font color="orange" size="+1"></font><br><br><br> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <font color="orange" >'''Debug Functions'''</font> | |
− | - <font color="forestgreen"> | + | - <font color="forestgreen">print_binary()</font> |
+ | - <font color="forestgreen">print_current()</font> | ||
+ | |} | ||
<br> | <br> | ||
2017年4月18日 (二) 11:32的版本
LIXIE 库
Lixie arduino Library github地址:https://github.com/connornishijima/Lixie-arduino
Examples
- ESP8266
- - XX :
- - XX :
- Arduino
- - XX :
- - XX :
- begin() - clear(bool show_change = true) - show() - write(uint32_t input) - write(char* input) - write_digit(byte input, byte index) - push_digit(byte number) - color(byte r, byte g, byte b) - color(CRGB c) - color(byte r, byte g, byte b, byte index) - color(CRGB c, byte index) - color_off(byte r, byte g, byte b) - color_off(CRGB c) - color_off(byte r, byte g, byte b, byte index) - color_off(CRGB c, byte index) - brightness() - color_balance() - max_power() - get_numdigits() - maxed_out() 给data数组添加值 参数 无 返回值
- get_leds() 给data数组添加值 参数 无 返回值
|
Debug Functions - print_binary() - print_current() |
更多建议和问题欢迎反馈至 YFRobot论坛