PWM with 12F675


Results 1 to 6 of 6

Thread: PWM with 12F675

Threaded View

  1. #1
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582

    Default PWM with 12F675

    Hello everyone !
    Since I bought a lot of 12F675, I think to try another schematic : lighting LED using software PWM. I wrote this code ; when power on the PIC, the LED give 20 % of light ; if buton is pressed, the LED lights 40%, then 60%, then 80% and, finally, 100 %. In my dreams ...because in practice that don't work like I wish. I know that code is not good...so, please, help me with some suggestion. Thanks in advance.
    Attached Files Attached Files

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 'channels ...what's that all about then!
    By HankMcSpank in forum General
    Replies: 5
    Last Post: - 23rd April 2009, 16:49
  4. PWM setting PIC16F887
    By Gevo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th June 2008, 07:24
  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