created part 1
This commit is contained in:
@@ -46,9 +46,9 @@ void Encoder::init()
|
||||
// Enable global interrupts
|
||||
sei();
|
||||
|
||||
// Set initial states for speed
|
||||
pastCount = count;
|
||||
pastTime = micros();
|
||||
// Set initial states for speed
|
||||
pastCount = count;
|
||||
pastTime = micros();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user