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
Bookmarks