1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-07-02 22:36:54 +02:00
Files
STARK/Features/Raspi/Raspi.py

11 lines
292 B
Python
Raw Normal View History

from ..Command import Command # import parent class
2020-11-28 08:25:22 +02:00
import os
2020-11-28 08:14:52 +02:00
class Raspi(Command):
def start(this, string): # main method
pass
2020-11-28 07:14:25 +02:00
2020-11-28 08:22:14 +02:00
@staticmethod
def hdmi_cec(command):
2020-11-28 07:14:25 +02:00
os.system(f'echo \'{command}\' | cec-client -s -d 1')