Hi all,
 
I use two lookup tables stored on PROGRAM MEMORY to save sin() and cos() functions.
 
I use this declarations:
 
int16_t __attribute((__progmem__))  sintable[] = {\
0, -201, -402, .........}
 
int16_t __attribute((__progmem__))  costable[] = {\
0, -201, -402, .........}
 
What kind of function/macro do I have to use for reading (in only one step !!!) this values from program memory within my application ?
 
Thanks in advance,
 
Alessio
 


Nuovo Yahoo! Messenger E' molto pi� divertente: Audibles, Avatar, Webcam, Giochi, Rubrica� Scaricalo ora!
_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to