tlc5615专题

TLC5615实现示波器波形显示——方波、三角波、锯齿波

代码: #include <reg52.h>sbit SCLK = P2^0; // sbit:为寄存器的某位取名sbit CS = P2^1;sbit DIN = P2^2;sbit key1 = P1^0;sbit key2 = P1^1;sbit key3 = P1^2;sbit key4 = P1^3;unsigned char rect; void delay(unsigne

TLC5615实现示波器波形显示——方波、三角波、锯齿波

代码: #include <reg52.h>sbit SCLK = P2^0; // sbit:为寄存器的某位取名sbit CS = P2^1;sbit DIN = P2^2;sbit key1 = P1^0;sbit key2 = P1^1;sbit key3 = P1^2;sbit key4 = P1^3;unsigned char rect; void delay(unsigne