01-17-2014, 02:56 PM
I try to improve this protocol
Give as output:
but
gives output:
What is wrong.
I also try to set LSB to 1,2,3 and 4 but not a improvement.
Code:
void quiggParseRaw(void){
int i=0;
for(i=0;i<quigg->rawlen;i++) {
printf("%d, ", quigg->raw[i]);
}
printf("\n");
}
Give as output:
Code:
[Jan 11 13:44:17:770529] pilight-daemon: DEBUG: called QUIGG parseRaw()
conradRSLSwParseRaw: 491, 1056, 475, 1033, 520, 1011, 505, 1023, 1015, 542, 968, 544, 498, 1048, 490, 1031, 488, 1053, 467, 1081, 453, 1053, 980, 548, 478, 1044, 1007, 530, 970, 552, 496, 1043, 480, 1049, 501, 1038, 467, 1078, 954, 554, 478, 1056, 471, 1048, 1007, 516, 490, 1050, 2975, 7075
but
Code:
void quiggParseCode(void) {
int x = 0;
for(x=0; x<quigg->rawlen; x++) {
printf("%d", quigg->code[x]);
}
gives output:
Code:
pilight-daemon: DEBUG: called QUIGG parseCode()
11011111111111111111111111111111111111111111111111
What is wrong.
I also try to set LSB to 1,2,3 and 4 but not a improvement.