| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
DFR0672 bảng dữ liệu(PDF) 11 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0672 bảng dữ liệu(HTML) 11 Page - DFROBOT |
|
11 / 26 page ![]() Invoke gcc compiler. -o means to generate files, and will be followed by the name of generated file. rgb.c is source program, and -lwiringPi means to use the wiringPi library in Raspberry Pi. • Run the program ./rgb Three RGB LEDs light up in green at the same time. • Codes Analysis 1. There are three RGB LEDs on the board, so we define the number of light as 3, declare setRGB and closeRGB function. 2. void setRGB(int num, int R, int G, int B) function: Set RGB LED color. num refers to the LED number: o is the first LED, 1 for the second LED, 2 for the third LED. When num is over 3, it means to set all the LEDs. The range of R, G, B is 0~255. |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |