Closed tekktrik closed 2 years ago
My pleasure! Code updated per review comments.
This is looking pretty good to me now. Last thing is lets move the ADS import to inside the try block since it's used only for typing:
Inside of analog_in.py:
try:
# used only for typing
from typing import Optional
from .ads1x15 import ADS1x15
except ImportError:
pass
No worries! Just glad to be able to help out!
Addressed issues from pre-commit