STK600 之 Atmega128硬件I2C 读写高精度时钟芯片DS3231函数 STK600 用于程序的下载 连接JTAG口至mega128目标板即可。 //----------------------------------------------------------------------------- unsigned char DS3231_DATA[19] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,}; unsigned char Date_Data[14] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00}; unsigned char Data_temp[6] = {0x00,0x00,0x00,0x00,0x00,0x00}; unsigned char Buffer_Data[20] = {0x21,0x22,0x23,0x24,0x25,0x