//h文件中
class LZX_E2 { private: void at24xx_start(void); void edelay(unsigned int); void at24xx_stop(void); void at24xx_lo_clk(void); void at24xx_ho_clk(void); void at24xx_write_byte(unsigned int); unsigned int at24xx_read_byte(void); public: void at24xx_write_datas(unsigned int,unsigned int,unsigned int *); void at24xx_read_datas(unsigned int,unsigned int,unsigned int *); };
//编译后提示 "at24c02.h", line 4: [F001] syntax error at or near symbol 'LZX_E2'
|