arduino due ignore lines in the program
hello folks,
i have problem programing arduino due : code :
so want send potentiometer values on 433 module transmitter arduino due , reseiver arduino uno, problem arduino due not want execute
thanks trying help.
have nice day.
i have problem programing arduino due : code :
code: [select]
char *msg="cc";
*msg=(char)(analogread(a0)/4);
*(msg+1)='a';
serial.println(*(msg+1));
driver.send((uint8_t *)msg, strlen(msg));
driver.waitpacketsent();
so want send potentiometer values on 433 module transmitter arduino due , reseiver arduino uno, problem arduino due not want execute
code: [select]
*msg=(char)(analogread(a0)/4);
, code: [select]
*(msg+1)='a';
when added code: [select]
serial.println(*(msg+1));
and code: [select]
serial.println(*(msg+1));
shows initial values : "cc", testet other circuitry seams work perfectly, on receiver cc ... going wrong ?thanks trying help.
have nice day.
where declaration of msg[]? how big it?
Arduino Forum > Using Arduino > Programming Questions > arduino due ignore lines in the program
arduino
Comments
Post a Comment