View previous topic :: View next topic |
Author |
Message |
Core2
Joined: 27 Sep 2008 Posts: 22
|
How do you. . . |
Posted: Mon Jan 18, 2010 9:17 am |
|
|
Hello everyone,
How do you START Timer1? Also, how do you ENABLE it after you disable it? Looking in the CCS C manual I didn't see a T1_ENABLE parameter, just the T1_DISABLE.
Thanks,
Duane |
|
|
drh
Joined: 12 Jul 2004 Posts: 192 Location: Hemet, California USA
|
|
Posted: Mon Jan 18, 2010 9:23 am |
|
|
T1_INTERNAL _________________ David |
|
|
Guest
|
|
Posted: Mon Jan 18, 2010 12:04 pm |
|
|
I thought that just set the clock for T1 to an internal source. |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Mon Jan 18, 2010 12:10 pm |
|
|
It also enables it.
If you look at the code that's generated in the setup command, enabling the timer is one of the things that resulting code does.
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
Guest
|
|
Posted: Mon Jan 18, 2010 2:39 pm |
|
|
Good deal!
Thanks,
Duane |
|
|
|