mirror of
https://github.com/brmlab/edubrm.git
synced 2025-08-04 07:43:35 +02:00
piny
This commit is contained in:
parent
e38d475d40
commit
af36fa43f0
8 changed files with 57 additions and 36 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue