use port info in params.py

This commit is contained in:
2022-03-17 11:12:50 +01:00
parent 7ca23a2274
commit 677bf36599
2 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -5,8 +5,6 @@ import serial
import params
from logs.LogSender import LOG_SUBJECT_EVENT, TYPE_EVENT_CHANGE_SLOT
PORT = "/dev/tty.usbmodem1432101"
BAUDRATE = 115200
@@ -45,7 +43,7 @@ class CardPool:
if __name__ == '__main__':
card_pool = CardPool(PORT)
card_pool = CardPool(params.CARD_POOL_PORT)
# print(card_pool.find_current_slot())
card_pool.reset()
# card_pool.switch_to_next()