working full
This commit is contained in:
parent
70786734bd
commit
7921e4417c
2 changed files with 12 additions and 9 deletions
|
@ -50,6 +50,9 @@ def test_serial_connection():
|
|||
try:
|
||||
print("Expected packet: 801s!000\\r (where 21 hex = ! ASCII, length=8 includes length byte)")
|
||||
board.set_power(PowerState.ON)
|
||||
time.sleep(2)
|
||||
board.set_volume(20)
|
||||
board.set_video_source(VideoSource.OPS)
|
||||
print("Power OFF command sent successfully!")
|
||||
except Exception as e:
|
||||
print(f"Failed to set power OFF: {e}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue