Rename module from motor_passo to spectrometer

This commit is contained in:
2023-10-29 20:56:03 -03:00
parent 02051ebda7
commit 00633508f0
15 changed files with 11 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
from spectrometer.encoder import Encoder
from spectrometer.utils.utils import setup_cleanup
from time import sleep
def main():
setup_cleanup()
encoder = Encoder(6, 5)
encoder.setup()
while True:
print(encoder.angle)
sleep(1)
if __name__ == "__main__":
main()