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/timers-counters.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/timers-counters.ld')
-rw-r--r-- | test/ldTest/tests/timers-counters.ld | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/test/ldTest/tests/timers-counters.ld b/test/ldTest/tests/timers-counters.ld new file mode 100644 index 0000000..867c6ff --- /dev/null +++ b/test/ldTest/tests/timers-counters.ld @@ -0,0 +1,57 @@ +LDmicro0.1 +MICRO=Atmel AVR ATmega128 64-TQFP +CYCLE=10000 +CRYSTAL=4000000 +BAUD=2400 +COMPILED=C:\depot\ldmicro\reg\expected\timers-counters.ld + +IO LIST + Xdown at 2 + Xres at 3 + Xup at 4 + Ydown at 27 + Ypulse at 46 + Yup at 56 +END + +PROGRAM +RUNG + COMMENT Test all the timers (TON, TOF, RTO) and counters (CTC, CTU, CTD), and the\r\nreset (RES) instruction. Also test one-shots. +END +RUNG + CONTACTS Rosc 0 + TOF Tof 100000 + TON Ton 100000 + COIL Rosc 1 0 0 +END +RUNG + CONTACTS Rosc 0 + CONTACTS Xup 0 + CTU Ccnt 20 + RTO Trto 10000000 + COIL Yup 0 0 0 +END +RUNG + CONTACTS Rosc 0 + CONTACTS Xdown 0 + CTD Ccnt 10 + COIL Ydown 0 0 0 +END +RUNG + CONTACTS Xres 0 + PARALLEL + OSR + OSF + END + RES Trto +END +RUNG + CONTACTS Rosc 0 + CTC Ccirc 7 +END +RUNG + EQU Ccirc 3 + OSF + TOF Tpulse 200000 + COIL Ypulse 0 0 0 +END |