BaseBall pitching Code sample - NewBie


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    KC MO
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Have you configured MCLR as internal in your code?
    Are you sure you have the A/D pins set up correctly for digital?

    Also, I'm not so sure that:

    sled var porta
    oled var portc

    will work the way you want it to.
    TRISA = %00110111
    TRISC = %00110111 should set the Pins for digital

    I'll remove sled and oled and replace with porta, portc

    You are talking about the "CONFIG: CONFIGURATION WORD REGISTER"
    bit 5 - 0 = RA3/MCLR pin function is digital input. Right?

    Now that I need to set the CONFIG REGSTER, any help with the other 15 bits?

  2. #2
    Join Date
    Apr 2007
    Location
    KC MO
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    Thanks SteveB, I look into these. Great Help guys!

Similar Threads

  1. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 22:07
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 22:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 9th December 2008, 00:40
  4. MN1307 sample code problem
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 20th November 2008, 21:41
  5. 18F8722 sample code
    By George in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th June 2008, 14:42

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