Skip to content

Commit

Permalink
Removing unecessary comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklik committed Nov 2, 2024
1 parent 9e3dbd3 commit 31a67b8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions sw/pymlab_interactive/quality_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ def main(screen):
try:
print("Connecting...")
if error:
print("Configuring device...") # Ladicí výpis
print("Configuring device...")

# Ladicí výpis: vstupní parametry
print(f"Port: {args.port}, Address: {address}")
cfg = config.Config(
i2c = {
Expand All @@ -58,25 +57,19 @@ def main(screen):
]
)

# Ladicí výpis: počátek inicializace konfigurace
print("Initializing configuration...")
cfg.initialize()

# Ladicí výpis: získávání zařízení
print("Getting TFRPM01 device...")
TFRPM01 = cfg.get_device("TFRPM01")
print("Initializing TFRPM01...")
TFRPM01.initialize()

# Nastavení konfigurace zařízení
print("Setting device configuration...")
TFRPM01.set_config(TFRPM01.FUNCT_MODE_count)

# Resetování čítače
print("Resetting counter...")
TFRPM01.reset_counter()

# Získání čítače a výpis jeho hodnoty
count = TFRPM01.get_count()
print(f"Initial count value: {count}")

Expand Down

0 comments on commit 31a67b8

Please sign in to comment.