Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DhcpServer EthernetInterface FATFileSystem GR-PEACH_WlanBP3595AP GR-PEACH_video GraphicsFramework HttpServer_snapshot R_BSP mbed-rpc mbed-rtos mbed
Fork of GR-Boards_WebCamera by
Diff: main.cpp
- Revision:
- 12:6c002b871c4d
- Parent:
- 11:ad8ff26679bb
- Child:
- 14:212f66386982
diff -r ad8ff26679bb -r 6c002b871c4d main.cpp --- a/main.cpp Thu Mar 03 10:13:39 2016 +0000 +++ b/main.cpp Thu Mar 24 07:46:33 2016 +0000 @@ -276,6 +276,11 @@ romramfs.format(); + //index.htm + fp = fopen("/romram/index.htm", "w"); + fwrite(index_htm_tbl, sizeof(char), sizeof(index_htm_tbl), fp); + fclose(fp); + //camera.js fp = fopen("/romram/camera.js", "w"); fwrite(camaera_js_tbl, sizeof(char), sizeof(camaera_js_tbl), fp);