Newbee What is missing? hpwm still won't compile in pbp syntax errors


Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Jun 2006
    Posts
    35

    Default Newbee What is missing? hpwm still won't compile in pbp syntax errors

    16F877 at 4 mhz


    Begin:

    PVAL = 1000 ' Start with 1kHz
    For Duty = 64 to 250
    HPWM 1,Duty,PVAL
    PAUSE 100
    NEXT Duty

    Duty = 127 ' 50% Duty-cycle
    For PVAL = 1000 to 10000 step 100 ' Increments of 100. Change as needed
    HPWM 1,Duty,PVAL
    PAUSE 100
    Next PVAL

    GOTO Begin

    END
    Last edited by emmett brown; - 9th July 2006 at 23:07. Reason: clarification

Similar Threads

  1. Unable to pass a variable to LCDOUT without getting compile errors
    By Ferroto Baggins in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2010, 16:43
  2. Endless supply of 'syntax error's.
    By BitHead in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th December 2009, 20:21
  3. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  4. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  5. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30

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