Getting 18F458 to blink


Results 1 to 6 of 6

Threaded View

  1. #2
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: Getting 18F458 to blink

    Try adding CMCON=7 to your code to disable the comparator

    EDIT: ADCON1=6 would be all digital, ADCON1=15 makes AN0 analog with AN3 VREF+ and AN2 VREF-
    Last edited by spcw1234; - 31st January 2012 at 00:40.
    Shawn

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