summaryrefslogtreecommitdiff
path: root/Experiments/1_LED-PLC/blinking.ld
diff options
context:
space:
mode:
Diffstat (limited to 'Experiments/1_LED-PLC/blinking.ld')
-rw-r--r--Experiments/1_LED-PLC/blinking.ld22
1 files changed, 22 insertions, 0 deletions
diff --git a/Experiments/1_LED-PLC/blinking.ld b/Experiments/1_LED-PLC/blinking.ld
new file mode 100644
index 0000000..2dc1811
--- /dev/null
+++ b/Experiments/1_LED-PLC/blinking.ld
@@ -0,0 +1,22 @@
+LDmicro0.1
+MICRO=Atmel AVR ATmega16 40-PDIP
+CYCLE=10000
+CRYSTAL=4000000
+BAUD=2400
+COMPILED=Z:\home\nivedita\Downloads\LLED.hex
+
+IO LIST
+ Yled at 3
+END
+
+PROGRAM
+RUNG
+ CONTACTS Rosc 0
+ TON Ton 1000000
+ TOF Toff 1000000
+ COIL Rosc 1 0 0
+END
+RUNG
+ CONTACTS Rosc 0
+ COIL Yled 0 0 0
+END