I'm playing around for a while with some ESP's and been pretty excited. For my next project I want to setup an ESP with WS2801 led's to create a small matrix. To control a little snake game on it, I want to control the ESP with my smartphone.
My first try was to set up the HTTP Server on it and send the direction over Ajax to a link. I use the server.on() method to react with the ESP. It works, but is a little bit slow. When I send the command, its reacts instandly, but then needs about 1-2 seconds to react on a new command. Has someone a better idea for controlling it via a website? I can host the controller website on my server as well, its not necessary that the esp host it.
Thanks for your help,
Cheers