he frowned as he thought of how he had invented a pendulum device for telling time that would have performed admirably for both the sighted and sightless , but he had been unable to build one before he had become blind due to the encroachment of his other infirmities .