Led shift light

Hi everyone , im using raspberry pi + linux for realdash and now im thinking to add external led shift light , is there anyway to do it? I mean i want something to be linked with realdash rpm indicator so it flash with the theme so how i can do it