I have been trying to globally declare motors in pros ez_template but if i include the file in main.h and include main.h in the file i get an error and if i dont include main.h i get an identifier error how can i fix this ?
try including #pragma once
at the top of all the header files.
It worked thank you.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.