TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141781 times)
  2. FAT32 Library (74880 times)
  3. Network Ethernet Library (59268 times)
  4. USB Device Library (49262 times)
  5. Network WiFi Library (45060 times)
  6. FT800 Library (44612 times)
  7. GSM click (31254 times)
  8. mikroSDK (30182 times)
  9. microSD click (27635 times)
  10. PID Library (27552 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Using RB0 to control timer1 with interrupts

Rating:

0

Author: Andy Phillips

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Timers (Real time clock)

Downloaded: 1021 times

Followed by: 1 user

License: MIT license  

This mikroBasic code written for the 16F887 sets up RB0 to control the starting and stopping of timer1.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Using RB0 to control timer1 with interrupts" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Using RB0 to control timer1 with interrupts" changes.

Do you want to report abuse regarding "Using RB0 to control timer1 with interrupts".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog currently doesn't exist!

RELATED CODES

Task Scheduler

10

This is a light Round Robin style task scheduler. You can define the maximum number of tasks and add those tasks to be ran at scheduled intervals. You will need to provide a clock source.

[Learn More]

Make frequencies with PIC 16 or 18 in real decimal Hz, 0.0001 Hz to 50000.0000 Hz

5

This is a very simple TMR2 interrupt that automatically makes frequencies from 0.0001 Hz to 50000.0000 hz in actual 0.0001 Hz steps, from ANY xtal value. Code is for PIC 16F628A, but should work on any PIC 16 of 18 using TMR2. (higher freq version)

[Learn More]

Real Time Clock / calender module

0

calculates Time, Date, Wkday (returns: 1 for Monday to 7 for Sunday) should work for any type of PIC, only the set_interrupt routine has to be adapted to specific PIC calculation for day of the week is based Microchip's AN1303. http://ww1.microchip.com/downloads/en/AppNotes/01303A.pdf added sample program

[Learn More]