⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 51单片机C语言常用模块与综合系统设计实例精讲
💻 C
字号:
#include <stdio.h>
#include <absacc.h>
#include <./Atmel/at89x52.h>
#include "Source.h"
#define uchar       unsigned char 
main(){
	unsigned int i=0;
	uchar flash_rbuf[64];
	init_serial();
	IE=0X40;
	EA=1;       /* Enable interrupts */
	while(1){
		flash_download();
		read_flash(0x3,0xa000,32,flash_rbuf);/*可以用仿真器查看读地址0x3a000地址数据与写入flash中该地址的数据是否一样*/
		//draw_picture(0,0);/*目前没有显存分配,在综合章节中会具体提到。但是给出了从flash中读存储图片的方法*/
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -