1
General Mach Discussion / Re: Outputs for Status Lights
« on: November 01, 2008, 05:23:04 PM »
Alright so here is what I did to have the red lights on only in emergency mode!!
Set whichever pin you are using (mine was 17) to Active low.
Create a brain as follows:
Normal On (LED) --> Invert flip signal -------------------------------------> Output/Enable (whichever you have associated with you pin)
I don't know why the estop led doesn't work, but i tried a bunch of different ways. The above configuration has red leds off when mach is in normal mode, and red leds on when mach is in emergency mode.
I also have the brain set up to turn green leds on in normal mode and off in emergency mode.
Hope this helps anyone that needs it!
Set whichever pin you are using (mine was 17) to Active low.
Create a brain as follows:
Normal On (LED) --> Invert flip signal -------------------------------------> Output/Enable (whichever you have associated with you pin)
I don't know why the estop led doesn't work, but i tried a bunch of different ways. The above configuration has red leds off when mach is in normal mode, and red leds on when mach is in emergency mode.
I also have the brain set up to turn green leds on in normal mode and off in emergency mode.
Hope this helps anyone that needs it!