www.pudn.com > armzhiwenshibie.rar > zlg7290.c
#include "config.h"
uint8 ZLG7290_Getchar(uint8 SubAdd)
{
uint8 dat_buf[2];
dat_buf[0] = 0x00;
I2cRead(ZLG7290, dat_buf, &SubAdd, 1, 1);
return dat_buf[0];
}
uint8 ZLG7290_Key(void)
{
return(ZLG7290_Getchar(Key));
}