PIC 18 TMR2 - Intro to Timer 2

Turn On & Off Timer2 — PIC Unit #04 — TMR — Episode #07

J3
Jungletronics
1 min readNov 30, 2019

--

Let’s use two buttons to turn on & off TIMER 2!

Fig 1. Turning LED on and OFF

The gift above doesn’t capture the blinking of the LED. Try it in your system and you’ll see!

That’s it!

In the next episode let’s program TIMER1 AS COUNTER and present results on LCD.

See you soon!

Bye!

Related Posts

01º Episode — TMR — unit#04 — TMR0 Intro — Hello World Timer zero!

02º Episode — TMR — unit#04 — TMR0 Extended @5sTIMER0 counts at every 5 long seconds.

03º Episode — TMR — unit#04 — TMR0 As a Counter TIMER0 counts ‘till ten!

04º Episode — TMR1 — unit#04 — PIC 18 TMR1 Max Counting — So, what is the max period for Timer1 (@8MHz)? — TIMER1 counts ‘till its max!

05º Episode — TMR1 — unit#04 — TMR1 as a CounterTIMER1 counts at every pulse

06º Episode — TMR1 — unit#04 — TMR1 & LCDTIMER1 results on LCD o/

07º Episode — TMR2 — unit#04 — PIC 18 TMR2 — Intro to Timer 2 — Turn On & Off Timer2 — TMR2 Overflows at 33 ms TIMER2 Max Count.

--

--

J3
Jungletronics

Hi, Guys o/ I am J3! I am just a hobby-dev, playing around with Python, Django, Ruby, Rails, Lego, Arduino, Raspy, PIC, AI… Welcome! Join us!