summaryrefslogtreecommitdiff
path: root/ladder-files/blinking.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ladder-files/blinking.ld')
-rw-r--r--ladder-files/blinking.ld34
1 files changed, 6 insertions, 28 deletions
diff --git a/ladder-files/blinking.ld b/ladder-files/blinking.ld
index cd5ae88..2dc1811 100644
--- a/ladder-files/blinking.ld
+++ b/ladder-files/blinking.ld
@@ -1,44 +1,22 @@
LDmicro0.1
MICRO=Atmel AVR ATmega16 40-PDIP
CYCLE=10000
-CRYSTAL=16000000
+CRYSTAL=4000000
BAUD=2400
-COMPILED=Z:\home\nivedita\Downloads\ldfiles\blinking.hex
+COMPILED=Z:\home\nivedita\Downloads\LLED.hex
IO LIST
- Yamber at 36
- Ygreen at 37
- Yred at 35
+ Yled at 3
END
PROGRAM
RUNG
- CONTACTS Rosc 1
+ CONTACTS Rosc 0
TON Ton 1000000
TOF Toff 1000000
- COIL Rosc 0 0 0
-END
-RUNG
- CONTACTS Rosc1 1
- TON Ton1 3000000
- TOF Toff1 3000000
- COIL Rosc1 0 0 0
-END
-RUNG
- CONTACTS Rosc2 1
- TON Ton2 5000000
- TOF Toff2 5000000
- COIL Rosc2 0 0 0
-END
-RUNG
- CONTACTS Rosc1 0
- COIL Yred 0 0 0
-END
-RUNG
- CONTACTS Rosc2 0
- COIL Yamber 0 0 0
+ COIL Rosc 1 0 0
END
RUNG
CONTACTS Rosc 0
- COIL Ygreen 0 0 0
+ COIL Yled 0 0 0
END