Sep 23, 2013 #1 J jean12 Advanced Member level 2 Joined Aug 27, 2013 Messages 529 Helped 5 Reputation 12 Reaction score 6 Trophy points 18 Activity points 5,497 Hello there,can you lease help me to define the delay of 1s using timer 1 in ccs c compiler? Thanks.
Sep 24, 2013 #2 mathespbe Full Member level 3 Joined Jul 10, 2013 Messages 185 Helped 45 Reputation 90 Reaction score 44 Trophy points 28 Location India, Tamilnadu, Coimbatore Activity points 866 jean12 said: Hello there,can you lease help me to define the delay of 1s using timer 1 in ccs c compiler? Thanks. Click to expand... what about your osc frequency? Is there any divider you are using for timer?
jean12 said: Hello there,can you lease help me to define the delay of 1s using timer 1 in ccs c compiler? Thanks. Click to expand... what about your osc frequency? Is there any divider you are using for timer?
Sep 24, 2013 #3 xpress_embedo Advanced Member level 4 Joined Jul 5, 2011 Messages 1,154 Helped 161 Reputation 396 Reaction score 189 Trophy points 1,353 Location India Activity points 10,591 You can use this Software to Calculate the Timer Value Easily, for your Micro-Controller. Its Supports Microchips All PIC Series Controller, AVR, And ARM Also. https://www.mikroe.com/news/view/496/timer-calculator-application-released/
You can use this Software to Calculate the Timer Value Easily, for your Micro-Controller. Its Supports Microchips All PIC Series Controller, AVR, And ARM Also. https://www.mikroe.com/news/view/496/timer-calculator-application-released/
Sep 24, 2013 #4 vicky001.iith Advanced Member level 4 Joined Aug 5, 2013 Messages 113 Helped 37 Reputation 74 Reaction score 31 Trophy points 48 Location INDIA Activity points 721 approximate delay == (1÷FREQ)×(prescale value)×(no.of cycles)x(TIMERHIGH-TIMERLOW) accordingly according to your required delay use can set timerH and TIME low values.
approximate delay == (1÷FREQ)×(prescale value)×(no.of cycles)x(TIMERHIGH-TIMERLOW) accordingly according to your required delay use can set timerH and TIME low values.