Mô Đun Ma Trận Matrix 32x8 Max7219 Led Cho Arduino


₫ 209.500

Sản phẩm Mô Đun Ma Trận Matrix 32x8 Max7219 Led 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

Dot matrix 8x8 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:

#Including spi.h.
#Inclusive adafruit_gfx.h
#Including max72xxpanel.h

Int pins = 10; / / attach cs to this pin, din to mosi and clk to sck (cf http://arduino•cc/en/Reference/SPI )
Int number ofhorizontaldisplays = 1;
Int numberofverticaldisplays = 4;

Max72xxpanel matrix = max72xxpanel (pins, numberofhorizontaldisplays, numberofverticaldisplays);

String tape = "let 's learn arduino with da electronics";
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, tape (letter), high, low, 1);
}

Letter--;
X - = width;
}

Matrix.write (); / / send bitmap to display

Delay (wait)

Sản Phẩm Liên Quan

HOT

Bikini hàng Âu

₫ 400.000
HOT
HOT

Bikini Thái

₫ 300.000
HOT

Bikini OKISS- QCXK

₫ 400.000
HOT

Bikini xuất Âu

₫ 300.000