Yes, the .bas file in the PBP folder. ie. 16F877.BAS
And, just like you do with the Config lines in the .inc file.
You can comment out the PORTL/H and TRISL/H lines, which allows you to define them in your main program.
Then you can...Which puts 0-7 on PORTA, and 8-15 on PORTD.Code:PORTL VAR PORTA TRISL VAR TRISA PORTH VAR PORTD TRISH VAR TRISD
Or to whichever ports you wanted.
Bookmarks