fixed import issue
This commit is contained in:
parent
495fa03401
commit
63e428ce4d
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
|
|
||||||
from sensors2osc.common import *
|
from sensors2osc import common
|
||||||
|
|
||||||
atexit.register(close)
|
atexit.register(close)
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ def main():
|
||||||
|
|
||||||
while 1:
|
while 1:
|
||||||
try:
|
try:
|
||||||
t = ord(serial_sock.read(1))
|
t = ord(common.serial_sock.read(1))
|
||||||
print "got value", t
|
print "got value", t
|
||||||
osc_message = OSCMessage("/%s/ekg" % actor)
|
osc_message = OSCMessage("/%s/ekg" % actor)
|
||||||
osc_message.appendTypedArg(t, "i")
|
osc_message.appendTypedArg(t, "i")
|
||||||
|
|
Loading…
Reference in New Issue