boardEEPROMClass()
构造函数
参数
返回值
void begin(int devideID = 0x50)
开启
参数
返回值
int readBuffer(byte addr, byte *buffer, unsigned int count)
读取指定数量的数据
参数
addr
读取的地址
buffer
读取到的数据存放缓存
count
要读取的数量
返回值
成功读取到的数据个数
byte readByte(byte addr)
读取指定地址位置的数据
参数
addr
地址
返回值
读取的数据
void readString(byte addr, char *str)
读取字符串
参数
addr
指定的地址
str
读取的字符串
返回值
void writeBuffer(byte addr, byte *buffer, unsigned int count)
写入指定数量的数据
参数
addr
要写入数据的地址
buffer
要写入的数据
count
要写入的数量
返回值
void writeByte(byte addr, byte data)
在指定地址写入数据
参数
addr
指定写入数据的地址
data
要写入的数据
返回值
void writeString(byte addr, char *str)
写入字符串
参数
addr
指定地址
str
要写的数据
返回值