Web Camera for mbed-os. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE
Dependencies: HttpServer_snapshot_mbed-os LWIPBP3595Interface_STA_for_mbed-os RomRamBlockDevice mbed-rpc
Fork of GR-Boards_WebCamera by
このサンプルは 「GR-LYCHEE」ではじめる電子工作 で紹介しています。
出版時と内容が異ならないよう、各ライブラリはアップデートせずに使用してください。
このサンプルの最新バージョンは下記から入手できます。最新バージョンは本の内容と一部処理が異なります。
https://github.com/d-kato/GR-Boards_WebCamera
Revision 6:7ec90cc47dc4, committed 2015-11-02
- Comitter:
- 1050186
- Date:
- Mon Nov 02 01:11:12 2015 +0000
- Parent:
- 5:34d84609dd60
- Child:
- 7:c45ecff1b44d
- Commit message:
- The IP address is acquired from DHCP Server.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Oct 23 11:03:49 2015 +0000
+++ b/main.cpp Mon Nov 02 01:11:12 2015 +0000
@@ -357,8 +357,8 @@
RPCFunction rpcSetI2C(SetI2CfromWeb, "SetI2CfromWeb");
printf("EthernetInterface Setting up...\r\n");
-// if (eth.init() != 0) { //for DHCP Server
- if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway)
+ if (eth.init() != 0) { //for DHCP Server
+// if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway)
printf("EthernetInterface Initialize Error \r\n");
return -1;
}
