Those methods were missing. It was expected that people would import from di_sensors, but that's clunky when you try to teach youngters. Also, only those two sensors were treated that way, not the distance sensor, nor the line following sensor for historical reasons.
As for the try/except at the top, I went through the history and it looks like a bad merge.
Those methods were missing. It was expected that people would import from di_sensors, but that's clunky when you try to teach youngters. Also, only those two sensors were treated that way, not the distance sensor, nor the line following sensor for historical reasons.
As for the try/except at the top, I went through the history and it looks like a bad merge.