Quote:
|
Originally Posted by Cuog
How do you control the pins via programming?
Yes, I've been intriuged now I must build it,
Cuog
|
you use the variables :
Pwm1_green
Pwm1_red
Pwm2_green
Pwm2_red
Relay1_red
Relay1_green
Relay2_red
Relay2_green
Which pins these correspond to are listed in the IO reference guide. They are defined in ifi_aliases.h. To use them for something you must override their default behavior which is set up in user_routines.c. Unfortunately these variables are also control the lights on the OI itself, so if you use them for something else, you will no longer have the use of those lights for debug purposes.