Commit a62d594a authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Attemps to use the sampling_rate in _vab_pulse

Showing with 2 additions and 1 deletion
+2 -1
......@@ -9,7 +9,8 @@ import time
import numpy as np
import os
from OhmPi.hardware import TxAbstract, RxAbstract
controller_module = importlib.import_module(f'OhmPi.hardware.raspberry_pi_3')
controller_name = HARDWARE_CONFIG['controller'].pop('board_name', 'raspberry_pi')
controller_module = importlib.import_module(f'OhmPi.hardware.{controller_name}')
TX_CONFIG = HARDWARE_CONFIG['tx']
RX_CONFIG = HARDWARE_CONFIG['rx']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment