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
@@ -1320,7 +1326,9 @@ int manualPointEntry (int i) //i is total points entered --needs to have total p
1320
1326
Serial.print("Input x-val");
1321
1327
Serial.print(i+1);
1322
1328
Serial.print(": ");
1323
-
px[i] = (double)NumericFloatInput();
1329
+
double xVal = (double)NumericFloatInput();
1330
+
delay(1);
1331
+
px[i] = xVal;
1324
1332
Serial.print(" Entered Val: ");
1325
1333
Serial.println(px[i]);
1326
1334
delay(250); //nice, easy transisitonal delay to next input
@@ -1329,7 +1337,9 @@ int manualPointEntry (int i) //i is total points entered --needs to have total p
1329
1337
Serial.print("Input y-val");
1330
1338
Serial.print(i+1);
1331
1339
Serial.print(": ");
1332
-
py[i] = (double)NumericFloatInput();
1340
+
double yVal = (double)NumericFloatInput();
1341
+
delay(1);
1342
+
py[i] = yVal;
1333
1343
Serial.print(" Entered Val: ");
1334
1344
Serial.println(py[i]);
1335
1345
delay(250);
@@ -1591,7 +1601,6 @@ void displayFitChoiceMenu()
1591
1601
Serial.println(F(" (5)Power - Min 3 pts, x != 0"));
1592
1602
Serial.println(F(" (6)Nth Order Polynomial - Min pts = order+1")); //a 2nd power requires 2 points, 3rd power requires 3, etc.
1593
1603
Serial.println(F(" (7)List Pts in Memory"));
1594
-
Serial.println(F(" (7)Read out EEPROM"));
1595
1604
Serial.println(F(" (8)Manual Pt Entry"));
1596
1605
Serial.println(F(" (9)Delete Current Points"));
1597
1606
Serial.print(F(" (10)Toggle Use Cache Points on fits, current status: "));
@@ -1767,7 +1776,6 @@ void setupEEPROM()
1767
1776
// it will only be called if the first byte is not "1"
1768
1777
//FORMAT: configFlag#whereToWriteToIfAppending(will take up four bytes)#numberOfSensors( max number of sensors to 144(it most probably wont be more than that) which requires 1 byte only))
1769
1778
//1#0008#0
1770
-
Serial.println("IN setupEEPROM function");
1771
1779
//EEPROM.begin();
1772
1780
//Configured flag is first byte
1773
1781
EEPROM.write(EEPROMPARTITIONOFFSET,'1');
@@ -2668,8 +2676,6 @@ void adHocPointEntry()
2668
2676
2669
2677
voidloop()
2670
2678
{
2671
-
2672
-
2673
2679
bool dealocArrays=0;//keep arrays, flag is normal pos.
2674
2680
unsignedint selectedValue = 0; //initialize selection choice holder as 0
2675
2681
unsignedint runStatus = 0; // Status of previous function's run, if an error is returned, this will come back as zero, chose next action accordingly
0 commit comments