Last change
on this file since 81 was
81,
checked in by heribert-pc, 11 years ago
|
Bugfixes; delay_ms erwartet auch Compile-Time-Konstante.
|
File size:
403 bytes
|
Line | |
---|
1 | /* |
---|
2 | * spielplan.c |
---|
3 | * |
---|
4 | * Created: 10.08.2013 14:02:58 |
---|
5 | * Author: Sven |
---|
6 | */ |
---|
7 | |
---|
8 | #include "wiring.h" |
---|
9 | #include "pseudosprache.h" |
---|
10 | |
---|
11 | void abspielen() { |
---|
12 | |
---|
13 | while(1) { |
---|
14 | start_led(); |
---|
15 | PORTA = 0x00; |
---|
16 | warte(0.5 * SEKUNDE); |
---|
17 | stop_led(); |
---|
18 | PORTA = 0xFF; |
---|
19 | warte(SEKUNDE); |
---|
20 | } |
---|
21 | /* |
---|
22 | geraet2_impuls(1 * SEKUNDE); |
---|
23 | |
---|
24 | anschalten(RELAIS_02); |
---|
25 | //warte_sekunden(2); |
---|
26 | ausschalten(RELAIS_02); |
---|
27 | */ |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.