TOP Contributors

  1. MIKROE (2659 codes)
  2. Alcides Ramos (356 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136970 times)
  2. FAT32 Library (70081 times)
  3. Network Ethernet Library (56019 times)
  4. USB Device Library (46340 times)
  5. Network WiFi Library (41958 times)
  6. FT800 Library (41269 times)
  7. GSM click (29051 times)
  8. mikroSDK (26482 times)
  9. PID Library (26447 times)
  10. microSD click (25411 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
Project

Multi Timers using Event driven programming for PIC 18F8520

Rating:

9

Author: Stevan Tosic

Last Updated: 2013-11-04

Package Version: 1.0.0.0

Category: Timers (Real time clock)

Downloaded: 2079 times

Not followed.

License: MIT license  

How to use Multi Timers for PIC 18F8520 in easy and user friendly way with additional library.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Multi Timers using Event driven programming for PIC 18F8520" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Multi Timers using Event driven programming for PIC 18F8520" changes.

Do you want to report abuse regarding "Multi Timers using Event driven programming for PIC 18F8520".

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

Project Blog

This project demonstrates how to implement multiple timers in PIC 18F8520 applications in simple way using Event driven programming. I called library EDT - Event Driven & Timers. It contains small yet powerfull set of functions. Although timers are a special kind of event I decided emphasize it. Pure C code is compiled into library called EDT.mcl and library implementations for other microcontrollers can be achieved in shortest time. Function declarations are located in header file EDT.h. Main file is called timers.c where user can change timer base and write his own code.

Examples are made as simple as possible. Number of timers is limited to 8 in demo mode. Maximum number of timers depends on using RAM and can reach a few tenth. There are many tipical timers oriented applications as PWM, counters, user interface (displays).

ALSO FROM THIS AUTHOR

GLCD parallel programming with events and timers

0

This is really old project for BigPIC5 (PIC 18F8520). Event library used here is written in pure C code which means that can be ported to any processor with minimal effort. Parallelism is achieved by event driven programming (timers is special kind of events). See on https://www.youtube.com/watch?v=YCW8Hi3Fmok

[Learn More]

RTOS for PIC 18F

4

Simple RTOS working in round-robin way with 1ms task switching. Number of tasks is five. Stacks size are configurable. Semaphores and timers examples are presented. Tasks progress is indicated by led blinking,

[Learn More]

PID control simulation on GLCD

0

Typical control system with PID controller is simulated and variables (input, error, output, control) are drawn on GLCD screen using PID and Bars libraries.

[Learn More]