OK
Now i think I have got it too ?
I get this result (Attiny85 @8mHz)
AA BigSteps This -1 41150 -11273 57 13807 -31442 42 33749 -782 185 62765 31835 45 1522 110 155 64399 -3397
2 AB BigSteps This 42 1496 20 57 13807 -31442 43 33749 -782 185 62765 31835 45 1522 110 155 64399 -3397
3 AA Confirm This 41 1496 20 0 0 -31442 42 1496 20 1 1496 31835 43 1508 40 1 1508 -3397
4 AA Confirm This 41 1496 20 0 0 -31442 42 1498 20 2 2994 31835 43 1508 40 1 1508 -3397
5 A9 Confirm Left 41 1496 20 0 0 -31442 42 1497 20 3 4491 31835 43 1508 40 1 1508 -3397
6 A9 Confirm Left 41 1490 20 1 1490 -31442 42 1497 20 3 4491 31835 43 1508 40 1 1508 -3397
7 A9 Confirm Left 41 1488 20 2 2978 -31442 42 1497 20 3 4491 31835 43 1508 40 1 1508 -3397
8 A9 Confirm Left 41 1491 20 0 0 -31442 42 1497 20 3 4491 31835 43 1508 40 1 1508 -3397
9 A9 Confirm Left 41 1491 20 1 1491 -31442 42 1497 20 3 4491 31835 43 1508 40 1 1508 -3397
10 A9 Confirm Left 41 1491 20 2 2982 -31442 42 1497 20 3 4491 31835 43 1508 40 1 1508 -3397
11 AB Confirm Right 41 1489 20 3 4471 -31442 42 1497 20 3 4491 31835 43 1508 40 1 1508 -3397
12 AB Confirm Right 41 1489 20 3 4471 -31442 42 1497 20 3 4491 31835 43 1508 40 2 3016 -3397
13 AA Finished This 41 1489 48 3 4471 7452 42 1497 15 3 4491 7485 43 1508 40 3 4524 7540
Copy-and-paste the following line of code at the top of setup...
OSCCAL = 0xAA;
--------------------------------------------------
Left This Right
------------------------------- ------------------------------- -------------------------------
Step OSCCAL State Position Cal 9bt Err # C9bt CClk Cal 9bt Err # C9bt CClk Cal 9bt Err # C9bt CClk
---- ------ --------- -------- --- ---- --- - ----- ----- --- ---- --- - ----- ----- --- ---- --- - ----- -----
1
That means that
- in my sketch i will do like this
void setup() {
OSCCAL = 0xAA;
}
- or I could store the value in EEPROM , and read it from there in setup()