} int main(void) { /*!< At this stage the microcontroller clock setting is already configured, this is done through SystemInit() function which is called from startup file (startup_stm32f10x_xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f10x.c file */ u8 x=0; u16 i; u16 SensorTp; uint8_t ee_buffer1[15] = {"abcdefghijklmn"}; uint8_t ee_buffer2[15] = {'2','5','9'}; Init_All_Periph(); printf("ee_buffer1 = %s\n",ee_buffer1); I2C_EE_BufferWrite(ee_buffer1, 3, 15); //I2C写操作 // I2C_EE_BufferRead(ee_buffer2, 0, 15); //I2C读操作