I’ve been doing some research into the electric imp and it looks like the perfect thing to help me with my project.
Essentially what I would like to do is create a program that allows a user to interact with an interface online.
The user will be able to change the frequency and period of a blinking light.
(i.e. If the user inputs a 0.5 for frequency, the program will communicate with the electric imp to tell the LED to turn ON for 1 second and OFF for 1 second and repeat until the user tells it to stop.)
However, this guy doesn’t show the code behind his program.
Does anyone know of an example online that shows how to create a GUI like the one in the link?
What would this code look like?
Brian, that demo is 3 years old. A lot has changed since then. The imp agent can host it’s own HTML web page, so you can create a lot of neat things without needing a website of your own.
Your imp (agent) has its own URL. You would give people that URL to play with your imp web page UI. If you have your own website, you could create whatever you want there and then you would have your own domain name (URL). PHP scripting along with JQuery can handle all of the UI and communication with your imp agent.
If the imp tails are still available, the RGB tail is really fun to use, and the documentation has all of the coding you need: https://electricimp.com/docs/tails/
Otherwise, someone on this forum, (U.S. person) could order and ship one to you, where you pay them via PayPal. Shipping might cost as much as the tail though.