Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 4 months ago. This question has been closed. Reason: Too broad - no single answer
Connecting to webpage?
This question isn't so much about the mbed side of things I think. I want to to be able to connect to a simple web page and communicate back to the mbed device with buttons etc. I am able to create a web page using html and javascript but I'm not sure how to connect between the two. I have looked at jquery but it seems to need a url.
Thanks for any help.
2 Answers
10 years, 4 months ago.
We have merged our TCPIP code with the EasyWeb example to show a simple web example running on an mBed 1769 with one of the Cool Components adapter boards (unfortunately no longer available), but it just provides the magnetics
This serves a simple page from 192.168.0.50 (fixed for this example) which controls an onboard LED and can pass a variable using CGI.
Here is the bin file. /media/uploads/basicchip/mweb.bin
And the sources for the GCC compiler, probably OK in Keil as well. /media/uploads/basicchip/mweb_1.zip
10 years, 4 months ago.
mbed JS can control mbed by Javascript.
Import programmbedJS
This is a Json-RPC/2.0 server with websocket and httpd. You can control mbed(s) by Javascript, processing, Java. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088