Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hacksaar
Sphinx
Commits
06c9d9d8
Commit
06c9d9d8
authored
Mar 11, 2015
by
Ralf
Browse files
fix pins.txt; decrease destblinker speed
parent
0f1ea89d
Changes
2
Hide whitespace changes
Inline
Side-by-side
pins.txt
View file @
06c9d9d8
Device 0x21 (Output)
Bit0 - NC
Bit1 - Relays (Tueroeffner) (immer auf
0
, auf
1
zum summen)
Bit1 - Relays (Tueroeffner) (immer auf
1
, auf
0
zum summen)
Bit2 - T2 Tuer auf (immer auf 1, impuls auf 0 für signal)
Bit3 - T1 Tuer zu
Bit4 - LED0 (1 ist an)
...
...
testblinker
View file @
06c9d9d8
...
...
@@ -14,5 +14,5 @@ while True:
b
.
setPin
(
Pin
(
0x21
,
6
),
(
i
//
4
)
%
2
==
0
)
b
.
setPin
(
Pin
(
0x21
,
7
),
(
i
//
8
)
%
2
==
0
)
print
(
"{:08b}"
.
format
(
b
.
getPins
(
0x20
)))
time
.
sleep
(
0.
02
)
time
.
sleep
(
0.
1
)
i
+=
1
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment