Published in


PIC 18 TMR1 As Counter

Each pulse on PORTC.RC0 will toggle LED at PORTD.RD0 —TMR — Episode #05

In this project, we will program TIMER1 AS COUNTER. Each pulse on PORTC.RC0 will toggle LED at PORTD.RD0:) See Calculation Memory presented below:)

Fig 1. At each pulse, LED is on!

That’s it!

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

See you soon!


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.




J of Jungle + 3 Plats Arduino/RPi/Pic = J3

Recommended from Medium

Software project needs technical team owner rather than processes and tools to successfully…

Get LME Lead Live Prices Using This Free API

Where To Get Hyderabad Gold Rates In USD With An API

Looking for a Web-Hosting service provider?

Building a Privacy Respectful Startup

Inside DevOps: Staying compliant, staying productive

Scalability and Cost Efficiency with AWS

How to Send SMS Messages with PHP (using Nexmo or Twilio)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


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

More from Medium

Never install Antivirus on your computer


Virtual Environments

How not to add captcha to your website