Prototyping: struggling to get RGB LED to show status of a Servo controlled blast gate

I haven’t done this for ages and am not sure either. This post seems to have some info on creating a sensor for servo position. Seems harder than it should be. Once you’re tracking the servo position everything should get a lot easier.