getting started


Closed Thread
Results 1 to 6 of 6

Thread: getting started

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Thanks for your help so far dave, I have sorted the problem out now. I have 2 hard drives installed on my computer, and ended up with the mecanique folder on D: and mpasm on C: or something, so I think the program was looking in the wrong place for the INC files. I now have a set of flashing LEDs in front of me, so im off to a good start and very pleased.

    Thanks very much Dave
    BR John

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    COOL!
    More fun with BLINKY
    Play with this a little. Change the PORT setting to match you PIC
    Code:
    X	VAR	BYTE
    
    Y	VAR	BYTE
    
    X = 1
    
    
    
    RAMPUP:
    
    FOR Y = 0 TO 10
    
      HIGH PORTB.2
    
    LOW PORTB.3
    
    PAUSE X
    
    LOW PORTB.2
    
    HIGH PORTB.3
    
    PAUSE X
    
    NEXT Y
    
    X = X + 10
    
    IF X => 100 THEN RAMPDOWN
    
    GOTO RAMPUP
    
    
    
    RAMPDOWN:
    
    FOR Y = 0 TO 10
    
      HIGH PORTB.2
    
    LOW PORTB.3
    
    PAUSE X
    
    LOW PORTB.2
    
    HIGH PORTB.3
    
    PAUSE X
    
    NEXT Y
    
    X = X - 10
    
    IF X =< 25 THEN RAMPUP
    
    GOTO RAMPDOWN
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Trying to get started w/ HPWM
    By circuitpro in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 20th February 2010, 19:42
  2. Getting started... again...
    By Neosec in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 31st May 2008, 03:09
  3. MPASM 18F4550 getting started
    By BrianT in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th September 2007, 00:59
  4. How did you get started .....
    By keithdoxey in forum General
    Replies: 25
    Last Post: - 13th April 2007, 20:29
  5. getting started with a PIC 18F4550
    By bigbear in forum General
    Replies: 2
    Last Post: - 16th October 2006, 03:31

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