รหัสสินค้า | A00163 |
หมวดหมู่ | LED/LCD/TFT Display |
ราคาปกติ | |
ลดเหลือ | 95.00 บาท |
บาร์โค้ด | 885001632 |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 20 พ.ค. 2560 |
อัพเดทล่าสุด | 20 พ.ค. 2560 |
คงเหลือ | ไม่จำกัด |
จำนวน | ชุด |
LED Matrix Driver Module + LED Dot Matrix 8x8 ขนาด 40mm x 40mm พร้อมสายไฟ
โมดูล LED Dot Matrix 8x8 ดวง ขนาดจอ เส้นทะแยงมุม 40x40 มิลลิเมตร สามารถใช้งานเดี่ยว ๆ หรือนำมาเรียงต่อกันเพื่อทำไฟวิ่งแสดงข้อความได้ ใช่ง่าย มีตัวอย่างและโคดการใช้งาน
_____________________________________________________________________________
Library
_____________________________________________________________________________
ตัวอย่างการใช้งาน
LED Matrix Driver MAX7219 -> arduino
Vcc -> 5V
GND -> GND
DIN -> Pin 12
CS -> Pin 10
CLK -> Pin 11
_____________________________________________________________________________
ตัวอย่าง Code
//We always have to include the library
#include "LedControlMS.h"
/*
Now we need a LedControl to work with.
***** These pin numbers will probably not work with your hardware *****
pin 12 is connected to the DataIn
pin 11 is connected to the CLK
pin 10 is connected to LOAD
We have only a single MAX72XX.
*/
#define NBR_MTX 2
LedControl lc=LedControl(12,11,10, NBR_MTX);
String digits= "1234567890";
int digitCounter=0;
/* we always wait a bit between updates of the display */
unsigned long delaytime=300;
void setup() {
/*
The MAX72XX is in power-saving mode on startup,
we have to do a wakeup call
*/
Serial.begin (9600);
Serial.println("Setup");
digitCounter=0;
for (int i=0; i< NBR_MTX; i++){
lc.shutdown(i,false);
/* Set the brightness to a medium values */
lc.setIntensity(i,8);
/* and clear the display */
lc.clearDisplay(i);
}
lc.writeString(0,"Myarduino");
lc.writeString(1,"Myarduino");
delay(1000);
lc.clearAll();
scrollLeft('0');
delay(1000);
lc.clearAll();
scrollRight('O');
delay(1000);
lc.clearAll();
}
void loop() {
char ch= digits[digitCounter];
digitCounter++;
if (digitCounter>9) digitCounter=0;
lc.displayChar(0, lc.getCharArrayPosition(ch));
lc.displayChar(1, lc.getCharArrayPosition(ch));
delay(1000);
lc.clearAll();
delay(200);
}
void scrollLeft(char ch){
int pos =lc.getCharArrayPosition(ch);
for (int scroll =0; scroll<6; scroll++) {
for (int i=scroll; i<6;i++) {
lc.setRow(0,i-scroll, alphabetBitmap[pos][i]);
}
delay(300);
lc.clearDisplay(0);
}
}
void scrollRight(char ch){
int pos =lc.getCharArrayPosition(ch);
for (int scroll =0; scroll<8; scroll++) {
for (int i=0; i<6;i++) {
if (scroll+i<8) lc.setRow(0, scroll+i, alphabetBitmap[pos][i]);
}
delay(300);
lc.clearDisplay(0);
}
}
____________________________________________________________________________
หลังจากสั่งซื้อแล้ว กรุณาชำระเงิน และจะต้องแจ้งชำระเงินทางหน้าเวปเท่านั้น (การแจ้งทาง SMS หรือ email ไม่ถือว่าเป็นการแจ้งชำระเงิน) ถ้าไม่มีการแจ้งชำระเงินภายใน 48 ชม. ระบบจะยกเลิกคำสั่งซื้อโดยอัตโนมัติ ถ้าท่านต้องการสั่งซื้อสินค้าอยู่ จะต้องทำการสั่งซื้อใหม่อีกครั้ง
รายการที่แจ้งชำระเงินก่อนเวลา 13:00น. จะทำการจัดส่งในวันทำการเดียวกัน รายการที่แจ้งชำระเงินหลัง 13:00น. จะจัดส่งในวันทำการถัดไป โดยจะทำการจัดส่งทุกวัน จันทร์-ศุกร์ และวันหยุด เป็นบางวัน ตามที่ผู้ขายสะดวก
แจ้งโอนเงินก่อน 9.00 วันเสาร์ส่งวันเสาร์
หลังจากชำระเงินแล้ว คลิ๊กที่นี่ เพิ่อแจ้งชำระเงินทันที โดยไม่ต้องโทรมาแจ้งอีก ถ้าไม่สะดวก ไม่ต้องแนบหลักฐานการโอนก็ได้ แต่กรุณาแจ้งธนาคาร และเวลาที่โอนที่ถูกต้อง จะได้ตรวจสอบได้ครับ
หน้าที่เข้าชม | 43,201 ครั้ง |
ผู้ชมทั้งหมด | 24,164 ครั้ง |
เปิดร้าน | 17 ก.ย. 2559 |
ร้านค้าอัพเดท | 1 ก.ย. 2568 |