I am currently in my second year of an electronics engineering program. I have taken an introductory course in microprocessors focusing on the PIC18. This semester we are building a desktop milling machine based on grbl. I am responsible for porting the code to pic. It is obvious to me that this a little above my skill level, but I will certainly give it my best effort. Any direction would be much appreciated. I have already started the port, basically building the existing code in mplab and fixing errors. I have most of that finished as far as i can tell. Is this the right way to start? Where do I go from here?