An error occurred while loading the file. Please try again.
-
Dorchies David authored
- forgot to add fdt_add_events in exported functions and documentation Refs #2
bbd0b39a
from OhmPi.config import HARDWARE_CONFIG
import os
from OhmPi.hardware_components import ControllerAbstract
CONTROLLER_CONFIG = HARDWARE_CONFIG['controller']
class Controller(ControllerAbstract):
def __init__(self, **kwargs):
kwargs.update({'board_name': os.path.basename(__file__).rstrip('.py')})
super().__init__(**kwargs)
self.bus = None