need a pic basic program


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Location
    Grid EN19MV
    Posts
    159


    Did you find this post helpful? Yes | No

    Default Re: need a pic basic program

    Quote Originally Posted by AvionicsMaster1 View Post
    I think you've explained it quite clearly.

    First, you need to go to the Microchip site and download the datasheet for the specific chip you're using. Read through it noting what registers if any need to be set for the chip to work.

    I'd then recommend you search this forum for simple programs to blink and LED on pin b.1 to ensure you're communicating with the chip.

    Then, search this forum for PWM, Pulse Width Modulation, and use those posts to write your own code.

    Once that's done post your code and your schematic along with chip number, PBP version and most everyone here will help you to "fix" your errors.

    I look forward to hearing from you.
    Isn't it funny how people seem to think we all having NOTHING to do of our own, but are just waiting to create their 'dream device' for them for nothing. Heck, I have enough problems creating my own, let alone someone else's!
    "I have noticed that even those who assert that everything is predestined and that
    we can change nothing about it still look both ways before they cross the street"


    -Stephen Hawking

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: need a pic basic program

    Just out of curiosity, can't this be done using discrete chips alone?

    if input increases then output volt which is 5 volt dc should decrease with 1:1 relation but reverse order
    I've only dabbled with gates, transistors and amplifiers; but can't they do this very well?

    Robert

  3. #3
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: need a pic basic program

    Absolutely, Robert. But that would not be the point of the school project, would it?

Similar Threads

  1. serial interface pic 18f452 using pic basic pro
    By syed ahmed in forum Serial
    Replies: 0
    Last Post: - 16th May 2010, 06:46
  2. Transfer Program PIC to PIC
    By kelip2 in forum USB
    Replies: 0
    Last Post: - 14th April 2010, 15:12
  3. PIC BASIC or PIC BASIC PRO
    By kirkmans in forum USB
    Replies: 3
    Last Post: - 20th April 2007, 01:52
  4. HEX to Basic or any workage program
    By assouad in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd April 2007, 15:38
  5. Replies: 5
    Last Post: - 17th January 2006, 20: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