From: #NG YEONG SHENG,JOHNSON#
Sent: Thu 5/4/2006 10:14 AM
To: [EMAIL PROTECTED]
Subject: Help on LoggerWrite and LoggerRead

Hi
 
I need help on LoggerRead and LoggerWrite functions. Lets take an example, I have an array.
 
int array[5]={1,2,3,4,5};
char* ptr;
ptr=(char*)array[0]; 
call LoggerWrite.apprend(ptr);   <---this will only write the first element into the eeprom.
 
Is that a way to write everything into the eeprom? Likewise for LoggerRead, is there any way to read the array of data out?
Any advice will be appreciated.
 
 
Thanks
Johnson
 
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to