I was wondering why i am not able to properly use digital ports 9 thru 12 on the cortex as i have 2 limit switches connected to it and what happens is that it gives the error: “Port 9 out of range”. i understand that these ports can be used as interrupts. can someone give me some clarification on what has happened? i will post the code in google drive link if you would like to see what i did. For a heads up this was done in easy c for you guys to know.
thanks
https://drive.google.com/open?id=0B7jbXjcyT_sAUm9lWTBIY3hBZVE&authuser=0