LED controller with fast response time