#include <m8c.h> // part specific constants and macros #include "PSoCAPI.h" // PSoC API definitions for all User Modules extern unsigned char COMBuff[32]; void main(void) { EzI2Cs_SetRamBuffer(32,32,COMBuff); EzI2Cs_EnableInt(); EzI2Cs_SetAddr(3); M8C_EnableWatchDog; M8C_EnableGInt; while { COMBuff//中的32数据可以随便读写,还有更多选择参考手册