单片机控制1264产生正弦波的程序(原创)
- 文件介绍:
- 该文件为 doc 格式,下载需要 0 积分
- 单片机控制1264产生正弦波的程序(原创)
#include <c8051f020.h> // SFR declarations
#include <intrins.h>
#include <stdio.h>
#include<math.h>
#define uchar unsigned char
#define uint unsigned int
uchar i,j,colour=1,T=0;
#define Lcd_Bus P5
/*char code seg[360] = {
0x80,0x82,0x84,0x86,0x88,0x8b,0x8d,0x8f,0x91,0x94,
0x96,0x98,0x9a,0x9c,0x9e,0xa1,0xa3,0xa5,0xa7,0xa9,
0xab,0xad,0xaf,0xb1,0xb4,0xb6,0xb8,0xba,0xbc,0xbe,
...