I am very very new to microchips programming.
I have several questions.
I couldn't figure out how to set oscillator frequency in the in mikroC Pro for pic32. I can do it in edit-projects setting, but I want to set the value in the code.
Secondly, I couldn't figure out how to set RA2, pin 9, as an output.
I have done the following but I couldn't make the pin as output
define StepperDisable LATA.F2 // Output
define StepperDisableDir TRISA.F2
StepperDisableDir = Out;
If you could help me I will be really appreciated. As I said, I have done software programming but not in very very low level, hardware programming
Thanks a lot