12f675 and midi!


Results 1 to 19 of 19

Threaded View

  1. #15
    Join Date
    Apr 2006
    Posts
    92


    Did you find this post helpful? Yes | No

    Default Interesting, but a little confused...

    I'm also into MIDI. I've made a midi sender with the 18F452 and was wondering about the 12F683. But since it didn't have HSEROUT I wasn't sure if it would work. So it seems it can work with serout using a 20 Mhtz xtal?

    Something I'm confused about however is the setting up of the ANSEL.
    I see that in the example above by Ingvar there are 2 bits that are set high along with the appropriate pins: like this ANSEL %00110011, but in Allaskan's example he just does this: ANSEL %00000011

    So GPIO.0 and GPIO.1 are analog inputs, but what do the 1's in position 4 and 5 represent?
    What is the ADCON0 doing?

    Also, why do you have to disable the analog comparators?

    Thank,
    Tony
    Last edited by TonyA; - 14th April 2006 at 00:08.

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