David BittnerDavid Bittner
Participant
@davidcbittner
Post count: 17

bowei zhang, I wanted to try your example just to see it work. I am getting some errors when I try to compile this. I’m not familiar with some of these commands as I am somewhat new to the arduino. Thanks for your help.

serial_receive();
if (receive_over_flage == 1) {
if(memcmp((char*)STONER.widget,” button1″,7)==0) {
btn_nums++;

sprintf(btn_numsc,”%d”,btn_nums);
set_value(“spin_box”, “spin_box1”, btn_numsc, “%02d”);
receive_over_flage = 0;
}
}

ADXL335_angle_display:57:29: error: stray ‘\342’ in program
if(memcmp(STONER.widget,” button2″,7)==0) {