getting started with a PIC 18F4550


Closed Thread
Results 1 to 3 of 3
  1. #1
    bigbear's Avatar
    bigbear Guest

    Default getting started with a PIC 18F4550

    I am new to pic programming and am trying to get my PIC 18F4550 to do something. I have wired it up, and written a small program to make it flash LED's on/off but it doesn't seem to work. I am not sure if I am using the correct pins as outputs, but I have probed each pin and they are either on or off, but none are flashing.

    I am using MikroBasic and here is my code.

    program Led_blinking

    main:
    TRISB = 0 ' Configure pins of PORTB as output
    PORTB = %11111111 ' Turn ON diodes on PORTB
    while true
    PORTB = not PORTB ' Toggle diodes on portb
    delay_ms(1000)
    wend
    end.

    anyone have any good info for getting started with an 18F4550? Wire diagrams, sample .hex etc.

    I am using a melabs USB programmer.

    mw

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Bigbear,

    Try the Mikrobasic forum at www.mikroelektronika.co.yu. There are several versions of Basic and MikroBasic is slightly different than PICBasic. They have a good forum also that can help you out.

    BobK

  3. #3
    bigbear's Avatar
    bigbear Guest


    Did you find this post helpful? Yes | No

    Default

    ok, thanks I'll check it out.

    bb

Similar Threads

  1. How to read ID locations of PIC 18F4550??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th January 2010, 17:37
  2. Pic 18f4550
    By thye in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th January 2008, 19:45
  3. MPASM 18F4550 getting started
    By BrianT in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 4th September 2007, 23:59
  4. Pic 18F4550 & VB6
    By lentz in forum USB
    Replies: 1
    Last Post: - 5th April 2006, 00:55
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 1

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