FIRST-Team-2557-The-SOTABots / FRC_Robot2.0

Deprecated
1 stars 0 forks source link

Another Character Must Be Read #13

Open mjmill opened 6 years ago

mjmill commented 6 years ago

In this loop, another character needs to be read, otherwise it will always look at the same character.

https://github.com/FIRST-Team-2557-The-SOTABots/FRC_Robot2.0/blob/3cc007571ec1ee8836c465c14ca1ee3d8da95e16/GetLatency/src/Detector.java#L32

liloheinrich commented 6 years ago

i think you might want to add before the end of the while loop currentChar = Latency.read()