Hi. i have one doubt. I want to read the rssi value so i'm oding this to get the first 8 bits that are the one i'm interested in:
uint16_t data; data = call HPLChipcon.read(CC2420_RSSI); data= (data & 0xFF ); the doubt i have is that now i want to know if each bit is a '1' or a '0' to get the value of rssi. But i don't know really how the command read returns the value in the variable. it would be a sequence of 1 and 0'os ??is it the correct way to get a the value from the register? _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help