笔记 : 这
MAX6950 / MAX6951是一个
3或3.3V系统的等效设备,但有
差异如此阅读
仔细数据表例如没有级联 - 重要的是你
不能使用它们
内部有线7SEGING显示,但您确实可以访问
to each LED segment
(probably using a Charlieplexing.
method - 虽然这不是直接说明的)。这
MAX6950/MAX6951 is
仅在表面贴装包装中使用。
显示MAX7219亮度控制
有两种方法可以控制显示亮度。
通过电流设置电阻(RSET)。
通过使用内部控制寄存器。
笔记 :没有
requirement for
将电流限制电阻添加到每个列中
LED输出强度是
由PWM信号控制I.E。LED接通
a shorter time to
暗淡它们 - 此时间由寄存器控制。
电阻器
Brightness Control
尽管如此,你不能使用一个没有其他的
to use the
电阻设置最大强度(最大电流 -
the current into pin
ISET - 实际电流是ISET电流的100倍
价值)。最小值
40mA亮度的电阻应为9.53K -
reality you just use
10K电阻(这取决于您使用的LED -
可能应该使用
12K电阻 - 使用红色LED最大为7219寿命 -
see below).
电流设置还取决于正向电压
drop of the LEDs you
采用;每个不同的LED颜色都有不同的前方
电压降 - 见表
11:
控制亮度的第二种方式更有用
is under program
控制。寄存器0xxa使用4设置级别
lower data bits i.e.
有15个亮度水平值,15个是15
the brightest.
布线布局
two MAX7219s
如果你只有一个突破板休假
hand one.
下面的布局允许从左到来滚动文本
right (It does not
这种方式有权将它们电线连接 - 但这是方式
此代码允许
正确滚动)。在顶部的连接
板是相同的
在底部的那些,除了中间销是dout
(black). The other 4
线直通过连接。
笔记 : 加上
更多滚动显示器
将它们添加到左侧并更改MaxDisplays变量
to match (2nd
example code).
了解
MAX7219
MAX7219 输入接口是16位串行输入
shift register. The
前8位定义了第二个8位的命令
定义该数据
命令(见下图):
只有4条地址行选择要执行的操作 -
the other 4 are not
用过的。请注意,首先发送MSB。前4位是
redundant but you
仍然必须将它们发送到换档寄存器中以填充
that register
completely.
最重要的一点是多个MAX7219设备
can be cascaded
只需通过一个到DIN的DOUT喂食
of the next. Load
和时钟(CLK)对所有设备保持相同。
负载脉冲(CSN)是发送所有数据的触发器
from the shift
在设备中注册到每个控制寄存器中
same time. You can
根据需要更改移位寄存器内容
(consider data flow
当级联许多设备时,完成后,您
将数据转移到
通过脉冲低电平使用CSN线路控制寄存器
then high.
警告: These
图书馆有点撞击
并且不要使用SPI接口(虽然它们是
附加到正确的
如果要使用内部SPI模块,请使用引脚 -
find/write the code
你自己!)。因此,它们相当慢 - 特别是如果
you want to do other
与微控制器的任务。然而他们很好地工作
足够的任务在这里
(scrolled text).
图书馆LEDCONTROL.
我尝试过的第一个图书馆提供了基本操作
character output and
允许各个像素控制。但在我的展示中
text was back to
正面。这是一个基本库,可以使用较少的内存
than others - so it
如果您需要较小的代码,可能值得纠正。
使用Arduino库安装此库
manager!
引领 CONTROL示例
编辑以下内容(安装目录中的示例)
for the pins used
(save as your own):
// max7219_two // Based on //gist.github.com/nrdobie/8193350
#include <SPI.h> #define SS_PIN 10
// MAX7219 SPI LED Driver #define MAX7219_TEST 0x0f // in real code put into a .h file #define MAX7219_BRIGHTNESS 0x0a // in real code put into a .h file #define MAX7219_SCAN_LIMIT 0x0b // in real code put into a .h file #define MAX7219_DECODE_MODE 0x09 // in real code put into a .h file #define MAX7219_SHUTDOWN 0x0C // in real code put into a .h file
Serial.print(" i "); Serial.print(i); Serial.print(" ud "); Serial.println(ud); } }
arduino素描
Example 2
此草图使用MaxMatrix库留下文本
using bit banged
操作(使用的函数是ShiftOut - 在库中
code - this is an
自动包含Arduino功能)所以设备可以是
used on any pins (at
a slower rate).
缓冲区Buf7219被定义为允许您的最大数据
use so if you use
超过5个数据字节增加它 - 其他数据刚刚将其设置为
10 - but that is
令人困惑,因为它不容易看出它的用途
unless you read the
code.
笔记 : 观察
progmem限定符
将数据放入内部编程内存中
access function that
您必须使用来检索它memcpy_p()。
示例2 Max7219 Arduino示例代码
// maxmatrix-disp-scroll-text-7219 // based on // //code.google.com/p/arudino-maxmatrix-library/wiki/Example_Display_Scrolling_Tex #include <MaxMatrix.h> #include <avr/pgmspace.h>
#define maxDisplays 2 // Number of MAX7219's in use.
byteBuf7219[7];// "width,height,data[5]" single character buffer. const 在 tdata=11;// DIN or MOSI const 在 tload=10;// CS const 在 tclock=13;// SCK
maxmatrix.m(data,load,clock,maxDisplays); // Data array is stored in program memory (see memcpy_P for access). // Parameters are width, height, character data... // There is a speed improvement for characters with height 8 bits see lib.
PROGMEMconstunsignedcharCH[]={ 3,8,B0000000,B0000000,B0000000,B0000000,B0000000,// space 1,8,B1011111,B0000000,B0000000,B0000000,B0000000,// ! 3,8,B0000011,B0000000,B0000011,B0000000,B0000000,// " 5,8,B0010100,B0111110,B0010100,B0111110,B0010100,// # 4,8,B0100100,B1101010,B0101011,B0010010,B0000000,// $ 5,8,B1100011,B0010011,B0001000,B1100100,B1100011,// % 5,8,B0110110,B1001001,B1010110,B0100000,B1010000,// & 1,8,B0000011,B0000000,B0000000,B0000000,B0000000,// ' 3,8,B0011100,B0100010,B1000001,B0000000,B0000000,// ( 3,8,B1000001,B0100010,B0011100,B0000000,B0000000,// ) 5,8,B0101000,B0011000,B0001110,B0011000,B0101000,// * 5,8,B0001000,B0001000,B0111110,B0001000,B0001000,// + 2,8,B10110000,B1110000,B0000000,B0000000,B0000000,// , 4,8,B0001000,B0001000,B0001000,B0001000,B0000000,// - 2,8,B1100000,B1100000,B0000000,B0000000,B0000000,// . 4,8,B1100000,B0011000,B0000110,B0000001,B0000000,// / 4,8,B0111110,B1000001,B1000001,B0111110,B0000000,// 0 3,8,B1000010,B1111111,B1000000,B0000000,B0000000,// 1 4,8,B1100010,B1010001,B1001001,B1000110,B0000000,// 2 4,8,B0100010,B1000001,B1001001,B0110110,B0000000,// 3 4,8,B0011000,B0010100,B0010010,B1111111,B0000000,// 4 4,8,B0100111,B1000101,B1000101,B0111001,B0000000,// 5 4,8,B0111110,B1001001,B1001001,B0110000,B0000000,// 6 4,8,B1100001,B0010001,B0001001,B0000111,B0000000,// 7 4,8,B0110110,B1001001,B1001001,B0110110,B0000000,// 8 4,8,B0000110,B1001001,B1001001,B0111110,B0000000,// 9 2,8,B01010000,B0000000,B0000000,B0000000,B0000000,// : 2,8,B10000000,B01010000,B0000000,B0000000,B0000000,// ; 3,8,B0010000,B0101000,B1000100,B0000000,B0000000,// < 3,8,B0010100,B0010100,B0010100,B0000000,B0000000,// = 3,8,B1000100,B0101000,B0010000,B0000000,B0000000,// > 4,8,B0000010,B1011001,B0001001,B0000110,B0000000,// ? 5,8,B0111110,B1001001,B1010101,B1011101,B0001110,// @ 4,8,B1111110,B0010001,B0010001,B1111110,B0000000,// A 4,8,B1111111,B1001001,B1001001,B0110110,B0000000,// B 4,8,B0111110,B1000001,B1000001,B0100010,B0000000,// C 4,8,B1111111,B1000001,B1000001,B0111110,B0000000,// D 4,8,B1111111,B1001001,B1001001,B1000001,B0000000,// E 4,8,B1111111,B0001001,B0001001,B0000001,B0000000,// F 4,8,B0111110,B1000001,B1001001,B1111010,B0000000,// G 4,8,B1111111,B0001000,B0001000,B1111111,B0000000,// H 3,8,B1000001,B1111111,B1000001,B0000000,B0000000,// I 4,8,B0110000,B1000000,B1000001,B0111111,B0000000,// J 4,8,B1111111,B0001000,B0010100,B1100011,B0000000,// K 4,8,B1111111,B1000000,B1000000,B1000000,B0000000,// L 5,8,B1111111,B0000010,B0001100,B0000010,B1111111,// M 5,8,B1111111,B0000100,B0001000,B0010000,B1111111,// N 4,8,B0111110,B1000001,B1000001,B0111110,B0000000,// O 4,8,B1111111,B0001001,B0001001,B0000110,B0000000,// P 4,8,B0111110,B1000001,B1000001,B10111110,B0000000,// Q 4,8,B1111111,B0001001,B0001001,B1110110,B0000000,// R 4,8,B1000110,B1001001,B1001001,B0110010,B0000000,// S 5,8,B0000001,B0000001,B1111111,B0000001,B0000001,// T 4,8,B0111111,B1000000,B1000000,B0111111,B0000000,// U 5,8,B0001111,B0110000,B1000000,B0110000,B0001111,// V 5,8,B0111111,B1000000,B0111000,B1000000,B0111111,// W 5,8,B1100011,B0010100,B0001000,B0010100,B1100011,// X 5,8,B0000111,B0001000,B1110000,B0001000,B0000111,// Y 4,8,B1100001,B1010001,B1001001,B1000111,B0000000,// Z 2,8,B1111111,B1000001,B0000000,B0000000,B0000000,// [ 4,8,B0000001,B0000110,B0011000,B1100000,B0000000,// backslash 2,8,B1000001,B1111111,B0000000,B0000000,B0000000,// ] 3,8,B0000010,B0000001,B0000010,B0000000,B0000000,// hat 4,8,B1000000,B1000000,B1000000,B1000000,B0000000,// _ 2,8,B0000001,B0000010,B0000000,B0000000,B0000000,// ` 4,8,B0100000,B1010100,B1010100,B1111000,B0000000,// a 4,8,B1111111,B1000100,B1000100,B0111000,B0000000,// b 4,8,B0111000,B1000100,B1000100,B0000000,B0000000,// c // JFM MOD. 4,8,B0111000,B1000100,B1000100,B1111111,B0000000,// d 4,8,B0111000,B1010100,B1010100,B0011000,B0000000,// e 3,8,B0000100,B1111110,B0000101,B0000000,B0000000,// f 4,8,B10011000,B10100100,B10100100,B01111000,B0000000,// g 4,8,B1111111,B0000100,B0000100,B1111000,B0000000,// h 3,8,B1000100,B1111101,B1000000,B0000000,B0000000,// i 4,8,B1000000,B10000000,B10000100,B1111101,B0000000,// j 4,8,B1111111,B0010000,B0101000,B1000100,B0000000,// k 3,8,B1000001,B1111111,B1000000,B0000000,B0000000,// l 5,8,B1111100,B0000100,B1111100,B0000100,B1111000,// m 4,8,B1111100,B0000100,B0000100,B1111000,B0000000,// n 4,8,B0111000,B1000100,B1000100,B0111000,B0000000,// o 4,8,B11111100,B0100100,B0100100,B0011000,B0000000,// p 4,8,B0011000,B0100100,B0100100,B11111100,B0000000,// q 4,8,B1111100,B0001000,B0000100,B0000100,B0000000,// r 4,8,B1001000,B1010100,B1010100,B0100100,B0000000,// s 3,8,B0000100,B0111111,B1000100,B0000000,B0000000,// t 4,8,B0111100,B1000000,B1000000,B1111100,B0000000,// u 5,8,B0011100,B0100000,B1000000,B0100000,B0011100,// v 5,8,B0111100,B1000000,B0111100,B1000000,B0111100,// w 5,8,B1000100,B0101000,B0010000,B0101000,B1000100,// x 4,8,B10011100,B10100000,B10100000,B1111100,B0000000,// y 3,8,B1100100,B1010100,B1001100,B0000000,B0000000,// z 3,8,B0001000,B0110110,B1000001,B0000000,B0000000,// { 1,8,B1111111,B0000000,B0000000,B0000000,B0000000,// | 3,8,B1000001,B0110110,B0001000,B0000000,B0000000,// } 4,8,B0001000,B0000100,B0001000,B0000100,B0000000,// ~ };
voidsetup() { m. 在 it(); m.setIntensity(3); }
// Scrolling Text charstring[]="The quick brown fox juumped over the lazy DOG.;:@'+=-/&"; voidloop() { delay(100); m.shiftLeft(false,true); printStringWithShift(string,100); }
您可以探索MaxMatrix库的工作原理/"does not
work" with
这个代码。此代码探讨了四个班次方向
provided in the
MaxMatrix
library.
Shiftleft - 可能是您需要的唯一功能
use.
上移
shiftright - 请参阅代码注释(下面)
not work that well.
降档
注意右移第一个左移的示例如何
the data by two and
失去了两列,因为库没有执行
wrap around.
示例3代码
// t1-maxmatrix-disp-scroll-text-7219 // sort of based on (but not entirely!) // //code.google.com/p/arudino-maxmatrix-library/wiki/Example_Display_Scrolling_Text #include <MaxMatrix.h> #include <avr/pgmspace.h>
#define maxDisplays 2 // Number of MAX7219's in use.
byteBuf7219[10];// width,height,data single character buffer. const 在 tdata=11;// DIN or MOSI const 在 tload=10;// CS const 在 tclock=13;// SCK
maxmatrix.m(data,load,clock,maxDisplays);
PROGMEMconstunsignedcharCH[]={ 3,8,B0000000,B0000000,B0000000,B0000000,B0000000,// space 1,8,B1011111,B0000000,B0000000,B0000000,B0000000,// ! 3,8,B0000011,B0000000,B0000011,B0000000,B0000000,// " 5,8,B0010100,B0111110,B0010100,B0111110,B0010100,// # 4,8,B0100100,B1101010,B0101011,B0010010,B0000000,// $ 5,8,B1100011,B0010011,B0001000,B1100100,B1100011,// % 5,8,B0110110,B1001001,B1010110,B0100000,B1010000,// & 1,8,B0000011,B0000000,B0000000,B0000000,B0000000,// ' 3,8,B0011100,B0100010,B1000001,B0000000,B0000000,// ( 3,8,B1000001,B0100010,B0011100,B0000000,B0000000,// ) 5,8,B0101000,B0011000,B0001110,B0011000,B0101000,// * 5,8,B0001000,B0001000,B0111110,B0001000,B0001000,// + 2,8,B10110000,B1110000,B0000000,B0000000,B0000000,// , 4,8,B0001000,B0001000,B0001000,B0001000,B0000000,// - 2,8,B1100000,B1100000,B0000000,B0000000,B0000000,// . 4,8,B1100000,B0011000,B0000110,B0000001,B0000000,// / 4,8,B0111110,B1000001,B1000001,B0111110,B0000000,// 0 3,8,B1000010,B1111111,B1000000,B0000000,B0000000,// 1 4,8,B1100010,B1010001,B1001001,B1000110,B0000000,// 2 4,8,B0100010,B1000001,B1001001,B0110110,B0000000,// 3 4,8,B0011000,B0010100,B0010010,B1111111,B0000000,// 4 4,8,B0100111,B1000101,B1000101,B0111001,B0000000,// 5 4,8,B0111110,B1001001,B1001001,B0110000,B0000000,// 6 4,8,B1100001,B0010001,B0001001,B0000111,B0000000,// 7 4,8,B0110110,B1001001,B1001001,B0110110,B0000000,// 8 4,8,B0000110,B1001001,B1001001,B0111110,B0000000,// 9 2,8,B01010000,B0000000,B0000000,B0000000,B0000000,// : 2,8,B10000000,B01010000,B0000000,B0000000,B0000000,// ; 3,8,B0010000,B0101000,B1000100,B0000000,B0000000,// < 3,8,B0010100,B0010100,B0010100,B0000000,B0000000,// = 3,8,B1000100,B0101000,B0010000,B0000000,B0000000,// > 4,8,B0000010,B1011001,B0001001,B0000110,B0000000,// ? 5,8,B0111110,B1001001,B1010101,B1011101,B0001110,// @ 4,8,B1111110,B0010001,B0010001,B1111110,B0000000,// A 4,8,B1111111,B1001001,B1001001,B0110110,B0000000,// B 4,8,B0111110,B1000001,B1000001,B0100010,B0000000,// C 4,8,B1111111,B1000001,B1000001,B0111110,B0000000,// D 4,8,B1111111,B1001001,B1001001,B1000001,B0000000,// E 4,8,B1111111,B0001001,B0001001,B0000001,B0000000,// F 4,8,B0111110,B1000001,B1001001,B1111010,B0000000,// G 4,8,B1111111,B0001000,B0001000,B1111111,B0000000,// H 3,8,B1000001,B1111111,B1000001,B0000000,B0000000,// I 4,8,B0110000,B1000000,B1000001,B0111111,B0000000,// J 4,8,B1111111,B0001000,B0010100,B1100011,B0000000,// K 4,8,B1111111,B1000000,B1000000,B1000000,B0000000,// L 5,8,B1111111,B0000010,B0001100,B0000010,B1111111,// M 5,8,B1111111,B0000100,B0001000,B0010000,B1111111,// N 4,8,B0111110,B1000001,B1000001,B0111110,B0000000,// O 4,8,B1111111,B0001001,B0001001,B0000110,B0000000,// P 4,8,B0111110,B1000001,B1000001,B10111110,B0000000,// Q 4,8,B1111111,B0001001,B0001001,B1110110,B0000000,// R 4,8,B1000110,B1001001,B1001001,B0110010,B0000000,// S 5,8,B0000001,B0000001,B1111111,B0000001,B0000001,// T 4,8,B0111111,B1000000,B1000000,B0111111,B0000000,// U 5,8,B0001111,B0110000,B1000000,B0110000,B0001111,// V 5,8,B0111111,B1000000,B0111000,B1000000,B0111111,// W 5,8,B1100011,B0010100,B0001000,B0010100,B1100011,// X 5,8,B0000111,B0001000,B1110000,B0001000,B0000111,// Y 4,8,B1100001,B1010001,B1001001,B1000111,B0000000,// Z 2,8,B1111111,B1000001,B0000000,B0000000,B0000000,// [ 4,8,B0000001,B0000110,B0011000,B1100000,B0000000,// backslash 2,8,B1000001,B1111111,B0000000,B0000000,B0000000,// ] 3,8,B0000010,B0000001,B0000010,B0000000,B0000000,// hat 4,8,B1000000,B1000000,B1000000,B1000000,B0000000,// _ 2,8,B0000001,B0000010,B0000000,B0000000,B0000000,// ` 4,8,B0100000,B1010100,B1010100,B1111000,B0000000,// a 4,8,B1111111,B1000100,B1000100,B0111000,B0000000,// b 4,8,B0111000,B1000100,B1000100,B0000000,B0000000,// c // JFM MOD. 4,8,B0111000,B1000100,B1000100,B1111111,B0000000,// d 4,8,B0111000,B1010100,B1010100,B0011000,B0000000,// e 3,8,B0000100,B1111110,B0000101,B0000000,B0000000,// f 4,8,B10011000,B10100100,B10100100,B01111000,B0000000,// g 4,8,B1111111,B0000100,B0000100,B1111000,B0000000,// h 3,8,B1000100,B1111101,B1000000,B0000000,B0000000,// i 4,8,B1000000,B10000000,B10000100,B1111101,B0000000,// j 4,8,B1111111,B0010000,B0101000,B1000100,B0000000,// k 3,8,B1000001,B1111111,B1000000,B0000000,B0000000,// l 5,8,B1111100,B0000100,B1111100,B0000100,B1111000,// m 4,8,B1111100,B0000100,B0000100,B1111000,B0000000,// n 4,8,B0111000,B1000100,B1000100,B0111000,B0000000,// o 4,8,B11111100,B0100100,B0100100,B0011000,B0000000,// p 4,8,B0011000,B0100100,B0100100,B11111100,B0000000,// q 4,8,B1111100,B0001000,B0000100,B0000100,B0000000,// r 4,8,B1001000,B1010100,B1010100,B0100100,B0000000,// s 3,8,B0000100,B0111111,B1000100,B0000000,B0000000,// t 4,8,B0111100,B1000000,B1000000,B1111100,B0000000,// u 5,8,B0011100,B0100000,B1000000,B0100000,B0011100,// v 5,8,B0111100,B1000000,B0111100,B1000000,B0111100,// w 5,8,B1000100,B0101000,B0010000,B0101000,B1000100,// x 4,8,B10011100,B10100000,B10100000,B1111100,B0000000,// y 3,8,B1100100,B1010100,B1001100,B0000000,B0000000,// z 3,8,B0001000,B0110110,B1000001,B0000000,B0000000,// { 1,8,B1111111,B0000000,B0000000,B0000000,B0000000,// | 3,8,B1000001,B0110110,B0001000,B0000000,B0000000,// } 4,8,B0001000,B0000100,B0001000,B0000100,B0000000,// ~ };
voidsetup() { m. 在 it(); m.setIntensity(3); }
charstring[]="Best-Microcontroller-Projects.com";// Scrolling Text
voidloop() { m.shiftLeft(false,true);
byteCH_A[]={4,8,B1111110,B0010001,B0010001,B1111110}; // Down m.writeSprite(0,0,CH_A); 为了 ( 在 ti=0;i<8;i++) { delay(300); m.降档(true);// rotate = true = rotate within 8 bit block }
delay(500);
m.clear();
// UP m.writeSprite(0,0,CH_A); 为了 ( 在 ti=0;i<8;i++) { delay(300); m. 上移 (true);// rotate = true = rotate within 8 bit block }
delay(500); m.clear();
m.writeSprite(0,0,CH_A); delay(500);
m.clear();
// Left m.writeSprite(8,0,CH_A);// write sprite OUTSIDE the LED matrix 为了 ( 在 ti=0;i<8;i++) { delay(300); m.shiftLeft(false,false); }
delay(500); m.clear(); // Right - does not work in the same way as shiftleft. m.writeSprite(0,0,CH_A); m.shiftLeft(false,false);// Code library does not work for shiftleft m.shiftLeft(false,false);// unless all chars are on the screen! for( 在 ti=0;i<8;i++) { delay(300); m.shiftRight(true,false); } delay(500); m.clear(); }
笔记 :BCD号码
is just a binary
号码,但您只允许数字0到9即0000
to 1001 anything
较高无效。即它是十进制的或"Binary coded
Decimal".
在大多数C库中都有例程进行操作
BCD值,所以你可以
使用BCD编号字符串进行正常算术。
关于BCD的最佳方法是它易于使用
assembler or C
代码即,您可以轻松地使用库例程
翻译二进制数
它的BCD等效 - 相当快。由于MAX7219可以是
set to BCD decode
mode you don'T需要弄清楚一个字符集
控制个人
LED patterns.
例如,当显示数字时,这将是有用的
on a frequency
counter's 7 segment display.
笔记 :BCD解码
can be set-up for
单个7个段留下其余的余额,即未解码即
individual LED
控制。因此,可能使用可能有4位数
显示加上32个人
LED输出,或带有24个单独LED的5位数字显示器
outputs etc.
为什么
Does a MAX7219
保存处理时间(MIPS)
原因是显示刷新操作是
performed entirely
在MAX7219中。在里面 频率
counter 您可以在此网站上找到并制作
(参见链接),我使用了一种执行的直接驱动方法
与MAX7219完全一样
司机。唯一的区别是所有显示刷新
is done within the
需要中断的微控制器.i.e。它有了
update the display
速度超过20ms,可以看到一个未播放的显示。
笔记: Display
refreshing also
要求您决定输出数据的时间(如何
much LED light is
输出)并且您通过所有8个数据输出循环
that ALL 7 segments
已在20ms内提供服务。有最多7219,它确实如此
all this for you.
使用MAX7219允许您在它中夹住一些数据
forget it - it
将始终显示数据,直到电源熄灭
it does not require
任何其他处理器输入或控制,直到您想要
change the data.
使用
the MAX7219 with 3V3
Arduinos
正如您从高于高于高于高于的规格
输入电压电平是
真的很高,即高于3.3V高输出水平的方式,所以a
3.3V Arduino needs a
级别转换器以驱动输入。低输入vil是
a standard level so
那不是问题!
7219使用可以在MHz的快速SPI接口
frequencies and you
可能想要以快速速度驱动它,具体取决于您的
项目,所以你需要一个
快速转换器和一些很慢。自水平以来
只需要转换
在一个方向上,一个解决方案是使用HCT
设备如74hct04
逆变器在5V下运行(只需使用两个逆变器正确
signal levels or
只接受倒置信号电平 - 改变它们
微控制器)或你
可以使用诸如74hct125等缓冲区。
新的! Comments
让你说到你刚刚阅读的东西!留下下面的框中的评论。