A dumb question
Do I understand it correctly that for PIC18 you need to write a subroutine above the call?

Views: 23

Reply to This

Replies to This Discussion

 Don't believe so? Mine seems to work without any regard to the order. Could totally be wrong, though.

I'm using the 16 but in general I think macros need to be before the call but subroutines don't.

subroutines can be anywhere after "code"

 

 I don't think there's any requirement. I've got stuff scattered all over the place (and across multiple files), and everything works fine

you dont

 lol turned out I was doing something so random that my code was really not meant to work

RSS

© 2024   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service