def led_control():
    rospy.init_node('led_control', anonymous=True)
    rospy.Subscriber('led_control_topic', String, callback)
    try:
        rospy.spin()
    except KeyboardInterrupt:
        print('Shutting down')
def led_control():
    rospy.init_node('led_control', anonymous=True)
    rospy.Subscriber('led_control_topic', String, callback)
    try:
        rospy.spin()
    except KeyboardInterrupt:
        print('Shutting down')