diff options
author | Rr42 | 2018-06-04 15:25:44 +0530 |
---|---|---|
committer | Rr42 | 2018-06-04 15:25:44 +0530 |
commit | 1f483baf37359032ca3224a5d07853aaf725def4 (patch) | |
tree | 040f6aa8f4bf07fd7fff0dd4ab2b874dc54a1fd3 /test/ldTest/tests/misc-ops.ld | |
parent | 1941edf7847565074fc79f339c8f8e609c5dca9d (diff) | |
download | LDMicroGtk-1f483baf37359032ca3224a5d07853aaf725def4.tar.gz LDMicroGtk-1f483baf37359032ca3224a5d07853aaf725def4.tar.bz2 LDMicroGtk-1f483baf37359032ca3224a5d07853aaf725def4.zip |
Commented all GUI code for core test
Diffstat (limited to 'test/ldTest/tests/misc-ops.ld')
-rw-r--r-- | test/ldTest/tests/misc-ops.ld | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/test/ldTest/tests/misc-ops.ld b/test/ldTest/tests/misc-ops.ld new file mode 100644 index 0000000..9fff1c4 --- /dev/null +++ b/test/ldTest/tests/misc-ops.ld @@ -0,0 +1,53 @@ +LDmicro0.1 +MICRO=Microchip PIC16F876 28-PDIP or 28-SOIC +CYCLE=10000 +CRYSTAL=4000000 +BAUD=2400 +COMPILED=C:\depot\ldmicro\reg\expected\misc-ops.hex + +IO LIST + Xon at 2 + Yalways at 3 + Ain at 4 +END + +PROGRAM +RUNG + COMMENT Little things: shift register, look-up table, master control relay.\r\n +END +RUNG + CONTACTS Xon 0 + MASTER_RELAY +END +RUNG + CONTACTS Rosc 0 + TON Ton 500000 + TOF Tof 500000 + COIL Rosc 1 0 0 +END +RUNG + CONTACTS Rosc 0 + SHIFT_REGISTER reg 7 +END +RUNG + PARALLEL + READ_ADC Ain + MOVE reg0 Ain + END +END +RUNG + PARALLEL + SERIES + CONTACTS Rosc 0 + CTC Ci 4 + END + LOOK_UP_TABLE duty Ci 5 0 10 70 80 70 10 + SET_PWM duty 10000 + END +END +RUNG + MASTER_RELAY +END +RUNG + COIL Yalways 0 0 0 +END |