Hi all,im working on copression algorithm and i use TinyOS 2.xi send an image 
from PC to mote i decompressed it then when i resend it to PCi get an error on 
its pixels value:
Original matrixuint8_t 
A[i][j]={{172,132,4,39},{23,127,5,4},{44,7,6,9},{77,211,19,5}};
$ java TestSerial -comm ser...@com5:telosSending packet 0ser...@com5:115200: 
resynchronisingSending packet 1Received packet sequence number 1l'affichage  
est:-29  (wrong value)               l'affichage  est:26l'affichage  
est:-32l'affichage  est:-17l'affichage  est:-87  (wrong value)l'affichage  
est:19l'affichage  est:-48l'affichage  est:5l'affichage  est:77l'affichage  
est:17l'affichage  est:72l'affichage  est:-18l'affichage  est:-118l'affichage  
est:-4l'affichage  est:85l'affichage  est:-8
***************************************Display matrix as C is: 227   (this is a 
true value)26-32-17169.5  (this is a true 
value)19.5-48.55.5771772-18-118.5-4.585.5-8.5i don't know why i can't display 
values higher than 127!!!can any one help me please? and thanks in 
advance.Ragards,Sindra                                         
_________________________________________________________________
Hotmail : une messagerie fiable avec une protection anti-spam performante
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to