用单片机在线清除户户通24c128数据
/**************************************************
~~~~~~~±¾´úÂëÔËÐÐÓÚSTC89C52~~~~~~~~~~
11.0592MHz¾§Õñ AT24C128
***************************************************/
#include <reg52.h>
#include <intrins.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <delay.h>
#include "myiic.h"
#include "24cxx.h"
#define uchar unsigned char
#define uint unsigned int
sbit key1=P1^1;
sbit key2=P1^2;
sbit test_led=P1^0;
sbit bz=P2^2;