Mô Đun Hiển Thị Led Matrix 32x8 Max7219 Cho Arduino
₫ 174.900
Sản phẩm Mô Đun Hiển Thị Led Matrix 32x8 Max7219 Cho Arduino đang được mở bán với mức giá siêu tốt khi mua online, giao hàng online trên toàn quốc với chi phí tiết kiệm nhất,0 đã được bán ra kể từ lúc chào bán lần cuối cùng.Trên đây là số liệu về sản phẩm chúng tôi thống kê và gửi đến bạn, hi vọng với những gợi ý ở trên giúp bạn mua sắm tốt hơn tại Pricespy Việt Nam
Ready cod.
Dot matrix 3x8 display with max7219 led module for arduino
Description:
1 single module can drive an 8x8 dot matrix common cathode
2 operating voltage module: 5v
3 dimensions 12.8 cm x 3.2cm wide x 1.3 cm high length module
4 holes with screws 3mm diameter
5 modules with input and output interfaces, support for cascading multiple modules.
Arduino sketch sample:
#Inclusive spi.h.
#Inclusive adafruit_gfx.h
#Including max72xxpanel.h
Int number ofhorizontaldisplays = 1;
Int numberofverticaldisplays = 4;
String tape = "let 's learn arduino";
Int wait = 50; / / in milliseconds
Int spaces = 1;
Int width = 5 + spacer; / / the font width is 5 pixels
Setup void () (
Matrix.setintensity (7); / / use a value between 0 and 15 for brightness
Adjustable to your own needs.
Matrix.setrotation (matrix.getrotation () + 1); / / the first display is position upside down
/ / matrix.setrotation (1, 1); / / the first display is position upside down
}
Void loop () (
For (int i = 0; i < width x tape.length () + matrix.width () - 1 - spacer; i + +) (
Matrix.fillscreen (low);
Int letter = i / width;
Int x = (matrix.width () - 1) - i% width;
Int y = (matrix.height () - 8) / 2; / / center the text vertically
While (x + width - spacer > = 0 & & letter > = 0)
If (letter < tape.length ()) (
Matrix.drawchar (x, y, tapeletter, high, low, 1);
}
Letter--;
X - = width;
}
Matrix.write (); / / send bitmap to display
Delay (wait)
Dot matrix 3x8 display with max7219 led module for arduino
Description:
1 single module can drive an 8x8 dot matrix common cathode
2 operating voltage module: 5v
3 dimensions 12.8 cm x 3.2cm wide x 1.3 cm high length module
4 holes with screws 3mm diameter
5 modules with input and output interfaces, support for cascading multiple modules.
Arduino sketch sample:
#Inclusive spi.h.
#Inclusive adafruit_gfx.h
#Including max72xxpanel.h
Int number ofhorizontaldisplays = 1;
Int numberofverticaldisplays = 4;
String tape = "let 's learn arduino";
Int wait = 50; / / in milliseconds
Int spaces = 1;
Int width = 5 + spacer; / / the font width is 5 pixels
Setup void () (
Matrix.setintensity (7); / / use a value between 0 and 15 for brightness
Adjustable to your own needs.
Matrix.setrotation (matrix.getrotation () + 1); / / the first display is position upside down
/ / matrix.setrotation (1, 1); / / the first display is position upside down
}
Void loop () (
For (int i = 0; i < width x tape.length () + matrix.width () - 1 - spacer; i + +) (
Matrix.fillscreen (low);
Int letter = i / width;
Int x = (matrix.width () - 1) - i% width;
Int y = (matrix.height () - 8) / 2; / / center the text vertically
While (x + width - spacer > = 0 & & letter > = 0)
If (letter < tape.length ()) (
Matrix.drawchar (x, y, tapeletter, high, low, 1);
}
Letter--;
X - = width;
}
Matrix.write (); / / send bitmap to display
Delay (wait)