moved serial commands to module
This commit is contained in:
1
beamer/__init__.py
Normal file
1
beamer/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from . import acer
|
11
beamer/acer.py
Normal file
11
beamer/acer.py
Normal file
@ -0,0 +1,11 @@
|
||||
class clubbeamer():
|
||||
set = {
|
||||
'on': b'* 0 IR 001\r',
|
||||
'off': b'* 0 IR 002\r',
|
||||
'vga': b'* 0 IR 015\r',
|
||||
'hdmi1': [b'* 0 IR 015\r', b'* 0 IR 050\r'],
|
||||
'hdmi2': [b'* 0 IR 015\r', b'* 0 IR 050\r', b'* 0 IR 050\r']
|
||||
}
|
||||
get = {
|
||||
'state': [b'* 0 Lamp ?\r', r'.*Lamp.1.*']
|
||||
}
|
Reference in New Issue
Block a user