diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2013-03-03 19:58:37 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2013-03-03 19:58:37 (GMT) |
commit | db04ba167d5b83990418a9658ff82d50dc63eaf3 (patch) | |
tree | ead49a52f5a1fced38b3fc25ada078ff2d892fb8 /pybot/drivers/hotplug/volt.py | |
parent | ae8181354bcfa55d38b5853595f819770f3370f7 (diff) |
same changes that in gtk2 version: replace bobot by pybotgtk3
Diffstat (limited to 'pybot/drivers/hotplug/volt.py')
-rw-r--r-- | pybot/drivers/hotplug/volt.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pybot/drivers/hotplug/volt.py b/pybot/drivers/hotplug/volt.py new file mode 100644 index 0000000..db7e1c1 --- /dev/null +++ b/pybot/drivers/hotplug/volt.py @@ -0,0 +1,19 @@ + +RD_VERSION = 0x00 +GET_VALUE = 0x01 + +f1 = { + 'name': 'getVersion', + 'call': RD_VERSION, + 'params': 0, + 'read': 3 +} + +f2 = { + 'name': 'getValue', + 'call': GET_VALUE, + 'params': 0, + 'read': 3 +} + +FUNCTIONS = [f1, f2] |