diff options
author | Rr42 | 2018-05-25 10:13:59 +0530 |
---|---|---|
committer | Rr42 | 2018-05-25 10:13:59 +0530 |
commit | f7669a3fcc87d4f6040257c3dd8708c263331458 (patch) | |
tree | 9eb6b47b5911eb1f13776caaa341aab40cabe5e7 /ldmicro/sample/blink.ld | |
parent | 8deab843fa6d616086955702c77751f631badc0d (diff) | |
download | LDMicroGtk-f7669a3fcc87d4f6040257c3dd8708c263331458.tar.gz LDMicroGtk-f7669a3fcc87d4f6040257c3dd8708c263331458.tar.bz2 LDMicroGtk-f7669a3fcc87d4f6040257c3dd8708c263331458.zip |
Added all LDmicro filles to be ported
Diffstat (limited to 'ldmicro/sample/blink.ld')
-rw-r--r-- | ldmicro/sample/blink.ld | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/ldmicro/sample/blink.ld b/ldmicro/sample/blink.ld new file mode 100644 index 0000000..e86d7a3 --- /dev/null +++ b/ldmicro/sample/blink.ld @@ -0,0 +1,61 @@ +LDmicro0.1 +MICRO=Microchip PIC16F877 40-PDIP +CYCLE=10000 +CRYSTAL=4000000 +COMPILED=C:\depot\ldmicro\pic.hex + +IO LIST + Xbutton at 21 + Yled at 30 +END + +PROGRAM +RUNG + CONTACTS Xbutton 1 + CTC Cwhich 4 +END +RUNG + CONTACTS Xbutton 1 + OSF + TOF Tdblclk 500000 + COIL Rdblclk 0 0 0 +END +RUNG + CONTACTS Xbutton 1 + CONTACTS Rdblclk 0 + MOVE Cwhich 3 +END +RUNG + CONTACTS Rfast 0 + TOF Tffast 100000 + TON Tnfast 100000 + COIL Rfast 1 0 0 +END +RUNG + CONTACTS Rslow 0 + TON Tnslow 100000 + TOF Tfslow 1000000 + COIL Rslow 1 0 0 +END +RUNG + PARALLEL + SERIES + EQU Cwhich 0 + CONTACTS Rfast 0 + END + SERIES + EQU Cwhich 1 + CONTACTS Rslow 0 + END + SERIES + EQU Cwhich 2 + CONTACTS Rslow 1 + END + EQU Cwhich 3 + SERIES + EQU Cwhich 4 + OPEN + END + END + COIL Yled 0 0 0 +END |