HTTP RPC Server mit vordefinierten Objekten
Dependencies: EthernetInterface HttpServer mbed-rpc mbed-rtos mbed
Diff: Web-APP/index.html
- Revision:
- 1:efd4f8b15e66
diff -r ad2568075748 -r efd4f8b15e66 Web-APP/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Web-APP/index.html Thu Apr 02 07:25:02 2015 +0000 @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="UTF-8"> +<title>Simple Web-App</title> +</head> +<body> +<form> + <h3>Klassik Web-App</h3> + <input type="submit" formmethod="get" formaction="http://192.168.178.63/rpc/led1/write 1" value="LED1 On"> + <input type="submit" formmethod="get" formaction="http://192.168.178.63/rpc/led1/write 0" value="LED1 Off"><br> + <input type="submit" formmethod="get" formaction="http://192.168.178.63/rpc/led2/write 1" value="LED2 On"> + <input type="submit" formmethod="get" formaction="http://192.168.178.63/rpc/led2/write 0" value="LED2 Off"> +</form> +</body> +</html> \ No newline at end of file