This commit is contained in:
BIITER 2011-04-27 00:06:22 +02:00
parent e38d475d40
commit af36fa43f0
8 changed files with 57 additions and 36 deletions

View file

@ -79,7 +79,7 @@ class Device:
if self.fake:
print 'setout', which, state
else:
self.epo.write('o' + chr(which<<1 + state))
self.epo.write('o' + chr((which<<1) + state))
# 7x AD (16 bits) + 3 x I
def read(self):