12F683 2 x PWM Outputs


Closed Thread
Results 1 to 30 of 30

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Which program, exactly are you talking about? There are several ones in this thread - is it one of them?
    And what PIC are you aiming to use and have you selected that particular one in MicrocodeStudio?

    /Henrik.

  2. #2
    Join Date
    Nov 2011
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Hello Henrik , its the code just before my reply. The one by deodeo.

    I am programming a 12F683 using PBPro , Microcode Studio , MPASM and Pickit2.
    I have selected 12F683 in MicrocodeStudio.
    Last edited by Hebemabo; - 23rd July 2021 at 15:31.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Just like DT's interrupt routines, you some times need to comment out a few lines in the include file

    Look inside "SSPWM.inc"

    Code:
    ' --- IF any of these three lines cause an error ??  Simply Comment them out to fix the problem ----
    wsave1      var byte    $A0     SYSTEM          ' location for W if in bank1
    wsave2      var byte    $120    SYSTEM          ' location for W if in bank2
    wsave3      var byte    $1A0    SYSTEM          ' location for W if in bank3
    ' ------------------------------------------------------------------------------

  4. #4
    Join Date
    Nov 2011
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Re: 12F683 2 x PWM Outputs

    Thank you very much Mark.

Similar Threads

  1. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  2. 2 PWM in 16F690 problems
    By ciendavila in forum mel PIC BASIC
    Replies: 9
    Last Post: - 27th April 2008, 09:03
  3. 12f683 comparator and pwm
    By Automan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd May 2007, 18:05
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Variable PWM on 2 Channels using software.
    By Tissy in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd September 2006, 01:34

Members who have read this thread : 2

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