T-Core
User Manual
32
January 14, 2020
Figure 3-6 The RGB LEDs display after executing the batch file
3
3
.
.
3
3
C
C
o
o
n
n
t
t
r
r
o
o
l
l
E
E
x
x
t
t
e
e
r
r
n
n
a
a
l
l
R
R
G
G
B
B
L
L
E
E
D
D
i
i
n
n
N
N
i
i
o
o
s
s
I
I
I
I
This demonstration is very similar to the one in section 3.2. The difference is that user need to
connect external RGB LEDs. Without the external power, the T-Core can control almost 10~20
external RGB LEDs, the quantities of external RGB LEDs are depending on the user’s code which
is used to control the LED lightness.
User can refer to below demonstration to modify the C program and control the external RGB
LEDs.
#define
LED_NUM 143 // modify LED number
……
//call function WS2812_LED_SET(alt_u32 SelLED,alt_u8 R_Color, alt_u8 G_Color, alt_u8 B_Color)
//SelLED: Select LED ,Red : 8Bit ,Green: 8Bit ,Blue: 8Bit
WS2812_LED_SET(100,30,0,0);
// set number 100 LED to red color.
WS2812_update();
//update status
……
◼
◼
D
D
e
e
s
s
i
i
g
g
n
n
T
T
o
o
o
o
l
l
s
s
•
Quartus Prime v18.1
Содержание T-Core
Страница 1: ...T Core User Manual 1 www terasic com January 14 2020 ...
Страница 45: ...T Core User Manual 44 www terasic com January 14 2020 Figure 3 17 Compile and download process ...
Страница 65: ...T Core User Manual 64 www terasic com January 14 2020 Figure 5 7 Using T Core board to program the DE10 Pro ...