9 years, 9 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

9 years, 9 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 /media/uploads/basicchip/mbed.jpg

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.

/media/uploads/basicchip/page.jpg

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

9 years, 9 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