Pwm 16f628


Results 1 to 5 of 5

Thread: Pwm 16f628

Threaded View

  1. #1
    mladenovic's Avatar
    mladenovic Guest

    Default Pwm 16f628

    Hi
    I need help
    I have to read Port RB4 to RB7
    The number I get from that reading (0-15) it has to be PWM output.
    Mu question is how to use PWM on pic 16f628
    This PWM signal has to be active 300ms and then read again portb4 to portb7

    Rule
    1.read portb4 to portb7
    2.set pwm dutycycle (depend of reading value of portb)
    3.activate pwm for 300ms
    4.go to 1.

    Thanks Milan
    Last edited by mladenovic; - 21st September 2005 at 21:13.

Similar Threads

  1. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. PWM setting PIC16F887
    By Gevo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th June 2008, 07:24
  4. Using PWM built in Module 16F628
    By earltyso in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 9th October 2007, 06:40
  5. Tidying Up PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st February 2005, 00:26

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts