MARSProgramming / MARS-2020

1 stars 0 forks source link

Investigate/Setup LEDs #8

Closed iamr2003 closed 4 years ago

iamr2003 commented 4 years ago

Look at past year's code(2018-19) about how we control LEDs. Coordinate with electrical how they will be wired on the robot, I believe we used a CANifier last year. Make sure you understand how to set different colors. If you want the specific list of color signals(triggers will be implemented later), ask Ibrahim.

liamhonecker commented 4 years ago

Today, we updated the LED files. We made RGB scales so we could change the intensity and color of the LEDs and then put it into Periodic Tasks. We also created an RGB global variable.

Khensa commented 4 years ago

We made our code into a Subvi. Main thing is we need to fix the Blue and address Blinking vs Not Blinking. Besides that, it works

liamhonecker commented 4 years ago

We de-bugged the sub-vi for blinking/non-blinking and ironed out some of the problems in the overall code. If you want to change the LEDs you can set the blinking speed in the sub-vi (0-1 is preferred, 1 is considered as 100% by the computer) . To change the color, go to Periodic Tasks.