Actually the manual does show the default connections.......for all PICs!
If you don't redefine the pins, they'll default to what the manual says, so long as those pins actually exist.
In a roundabout way, you can use any pin you want (using DT's ANYPIN routines) for the LCDIN/LCDOUT commands, but I'm guessing that's probably a bit above your skill at the moment. Give it time and anything is possible.Can i want use RB1 to RB6 insted och the default or does i have to use pin´s from outher ports?
I suppose they could name them anything they want, just call them 1 thru 30, or A-Z or whatever.btw why does the PIC have diffrent ports like PORTA, PORTB, PORTC..
But, since the PIC16F872 is primarily an 8bit device, it therefore makes a bit more sense to divide up the pins into 8 bit chunks as much as possible to keep the firmware/instructions/etc a bit simpler.
Quite frankly, you won't see a lot of 6 bit or 13 bit devices out there, or some other off the wall number. Pretty much everything is either 1,4,8, or 16 bits (yes, there are exceptions to the rule, just not a lot).
Get on it! Make 2 LEDs blink with 3 buttons... Then make a servo move with the buttons, then make a .... see how it goes?And yes i´m new to PIC programing and i have just get my LED to blink when i push a button![]()
Get out while you can! It's a never ending cycle man!!! You'll end up spending all of your money on the latest greatest thing out there!!! Blowing all of your sleep time programming PICs... Lose your money, house, sanity...it's like drugs! It's terrible!!!
Ok, not really...but you get the point...(as for me, I'll never learn!)





Bookmarks