Questions tagged «dot-matrix-display»

1
使用74HC154绘制8x32 LED矩阵
如何将图案发送到8x32 LED矩阵中?我将AT89S52微控制器与74HC154 4-16线解码器配合使用,并使用Keil IDE在C语言中进行编程。我已经完成了垂直扫描,但是在下一步中遇到了麻烦。如果需要,我将提供原理图。电路与下面包含的电路相同,仅不使用74HC138,公共阳极矩阵,而是使用UN2803作为驱动器,不使用内存 端口1是列,端口2是行...代码: row = 0xFF; //for (j=0x01; j< 0x08; j<<=1) { /* scan left to right */ for (j=0x00; j<=0x0F; j++) { E1=0; E2=0; P1 = j; P2 = row; /* Output to LED Port */ for (i = 0; i < 100; i++) { /* Delay …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.