ICP DAS USA I-7188XB Series User Manual page 64

Hide thumbs Also See for I-7188XB Series:
Table of Contents

Advertisement

any data.
For example: To write data to EEPROM block1, address 10, first call the
EE_WriteEnable() function . The code is shown below.
int data=0x55, data2;
InitLib(); /* Initiate the 7188xb library */
EE_WriteEnable();
EE_MultiWrite(1, 10, 1, &data);
EE_WriteProtect();
EE MultiRead(1, 10, 1, &data2);
Note: To write an integer to EEPROM, the EE_WriteEnable() function
must be called twice, in the same manner as writing data to NVRAM.
Refer to the demo programs in the
CD:\Napdos\7188XABC\7188XB\Demo\BC_TC\Memory folder for more
information.
I-7188XB Series User's Manual(Ver.1.0, Apr/2007, 7MH-020-10 ) --- 64
/* now data2=data=0x55 */

Advertisement

Table of Contents
loading

Table of Contents