Infrared HPWM setup


Results 1 to 20 of 20

Threaded View

  1. #5
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Infrared HPWM setup

    i've also noticed you've shifted 2 bits on the right the CCPR1L

    CCPR1L = 210>>2 ' Set PWM Duty-Cycle to 50%

    So the CCPR1L value will be 52.

    (11010010) 210>>2 = 00110100 = 52

    why have we shifted?
    Last edited by astanapane; - 1st June 2023 at 09:01.

Similar Threads

  1. Replies: 3
    Last Post: - 23rd October 2011, 13:53
  2. InfraRed Data Com
    By rayzrocket in forum Off Topic
    Replies: 5
    Last Post: - 29th March 2010, 16:42
  3. Infrared x PIC
    By ewandeur in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th December 2009, 19:30
  4. infrared help
    By griffin in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th December 2008, 06:34
  5. infrared
    By bmohnsen in forum General
    Replies: 1
    Last Post: - 2nd May 2007, 17:35

Members who have read this thread : 3

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