急求用DAC接口电路,编写产生负向锯齿波、三角波、梯形波的程序答:sbit k0=P1^0;sbit k1=P1^1;sbit k2=P1^2;sbit k3=P1^3;sbit k4=P1^4;unsigned char flag;//当flag为0、1、2、3、4时分别产生正弦波、方波、三角波、梯形波、锯齿波 unsigned char const code sin_code[256]={ 0x80,0x83,0x86,0x89,0x8c,0x8f,0x92,0x95,0x98,0x9c,0x9f,0...