Lincoln Timer to Generate Different Delays
From Manuals
Compatibility Lincoln 60, Lincoln 60E
This example application demonstrates how to use Timer Match to generate different delay signals. Timer 0 generate two delays and output a signal on MAT0.0 (J2 pin 19). The first UART, which is connected to the COM1 on the Lincoln microcontroller board, is configured for 115,200 bits per second, and 8-n-1 mode. When the program is started a message will be printed to the terminal. The below screen shot is of the timer_gen_diff_delay in action.
Please follow these steps to run the timer_gen_diff_delay example:
- 1. Compile the timer_gen_diff_delay example.
- 2. Program the Lincoln with the binary.
- 3. Press the "RESET" button.
- 4. Enter the delay time for the first delay.
- 5. Enter the delay time for the second delay.
- 6. Observe the signal on J2 pin 19 (MAT0.0) with an oscilloscope.
Below is a screen capture of the signal when 002 was entered for the first delay time and 001 was entered for the second delay time. The signal is high for the first delay time and low for the second delay time.


