You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LinkedList<int>mMagBiasX=LinkedList<int>();
voidmagcalMPU9250_2() {
intsample_count;
Serial.println("Mag Calibration ");
mMagBiasX.clear();
for(;;){
// Serial.println(mag_temp[0]);intt=0;
//memcpy(&t,&mag_temp[0],sizeof(int16_t)); #2t=-1; //t =mag_temp[0]; #1mMagBiasX.add(t);
// delay(135); // at 8 Hz ODR, new mag data is available every 125 msdelay(16);
//if(calibBut.uniquePress())// break;Serial.println(sample_count);
Serial.println(mMagBiasX.size());
}
}
Just copy this function to SimpleIntegerList.pde . and call it from setup .Then the loop will stuck at about the 176th call (Arduino uno).
and comment # 1 line out ,u will see the loop work again . I don't know why .Maybe relative to the memory ,so maybe it is arduino false . I don't know and give up .Just hope you notice this.
The text was updated successfully, but these errors were encountered:
Just copy this function to SimpleIntegerList.pde . and call it from setup .Then the loop will stuck at about the 176th call (Arduino uno).
and comment # 1 line out ,u will see the loop work again . I don't know why .Maybe relative to the memory ,so maybe it is arduino false . I don't know and give up .Just hope you notice this.
The text was updated successfully, but these errors were encountered: