SEARCH
TOOLBOX
LANGUAGES
modified on 12 April 2012 at 15:40 ••• 13,348 views

Lincoln Timer to Generate Different Delays

From Manuals

Revision as of 15:40, 12 April 2012 by Support (Talk | contribs)
Jump to: navigation, search

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. 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.