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 (141703 times)
  2. FAT32 Library (74779 times)
  3. Network Ethernet Library (59221 times)
  4. USB Device Library (49226 times)
  5. Network WiFi Library (44999 times)
  6. FT800 Library (44536 times)
  7. GSM click (31203 times)
  8. mikroSDK (30104 times)
  9. microSD click (27586 times)
  10. PID Library (27543 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

10-Bits PWM program model

Rating:

0

Author: Stephen Madeira

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Internal MCU modules

Downloaded: 737 times

Followed by: 3 users

License: MIT license  

Written to PIC16F628A, but probably will work with any &quot;16 family&quot; device with CCP module.
PWM running @19.53 kHz with µC running @20MHz.
Be sure not to mess with registers config and to set the CCP1 pin as OUT!

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "10-Bits PWM program model" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "10-Bits PWM program model" changes.

Do you want to report abuse regarding "10-Bits PWM program model".

  • 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

PWM 10 bit PIC 18f45k22 example

0

This is an example of how to use 10_bit PWM on PIC 18f45k22 and Easy PIC 7. Original code from Deniz ELMASLI and MikroC , ported to MIkroPascal and upgraded from Janni. Related thread in Mikroe forum http://www.mikroe.com/forum/viewtopic.php?f=93&t=57757

[Learn More]

External Interrupt

0

Simple example showing how to use 2 buttons to INC() or DEC() a variable. Uses two Interrupts INT0 and INT1

[Learn More]

Keyboard 5 buttons on one wire

0

arduino LCD Display Shield with Pushbuttons connected to the microcontroller atmega128A (atmega128-16AU) using an internal ADC

[Learn More]