{"action":"created","issue":{"url":"https://api.github.com/repos/ArduCAM/Arduino/issues/3","labels_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/3/comments","events_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/3/events","html_url":"https://github.com/ArduCAM/Arduino/issues/3","id":99788290,"number":3,"title":"ArduCAM_Mini_OV2640_Yun_WebServer — IP Address Bug ","user":{"login":"rei-vilo","id":951776,"avatar_url":"https://avatars.githubusercontent.com/u/951776?v=3","gravatar_id":"","url":"https://api.github.com/users/rei-vilo","html_url":"https://github.com/rei-vilo","followers_url":"https://api.github.com/users/rei-vilo/followers","following_url":"https://api.github.com/users/rei-vilo/following{/other_user}","gists_url":"https://api.github.com/users/rei-vilo/gists{/gist_id}","starred_url":"https://api.github.com/users/rei-vilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rei-vilo/subscriptions","organizations_url":"https://api.github.com/users/rei-vilo/orgs","repos_url":"https://api.github.com/users/rei-vilo/repos","events_url":"https://api.github.com/users/rei-vilo/events{/privacy}","received_events_url":"https://api.github.com/users/rei-vilo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-08T09:51:11Z","updated_at":"2015-08-10T00:26:55Z","closed_at":null,"body":"There a bug affecting the IP address in the ** ArduCAM_Mini_OV2640_Yun_WebServer** example. \r\n\r\nBy default, the last character is `#0A`, which makes the picture in the web page blank.\r\n\r\nJust add `if (ip[m] == 0x0A) ip[m] = 0x00;` to line *ca.* 130\r\n\r\n```\r\n  while (q.available())\r\n  {\r\n    ip[m] = q.read();\r\n    if (ip[m] == 0x0A) ip[m] = 0x00;\r\n    m += 1;\r\n  }\r\n```\r\n\r\nWith this fix, the image is displayed correctly."},"comment":{"url":"https://api.github.com/repos/ArduCAM/Arduino/issues/comments/129263578","html_url":"https://github.com/ArduCAM/Arduino/issues/3#issuecomment-129263578","issue_url":"https://api.github.com/repos/ArduCAM/Arduino/issues/3","id":129263578,"user":{"login":"ArduCAM","id":11016968,"avatar_url":"https://avatars.githubusercontent.com/u/11016968?v=3","gravatar_id":"","url":"https://api.github.com/users/ArduCAM","html_url":"https://github.com/ArduCAM","followers_url":"https://api.github.com/users/ArduCAM/followers","following_url":"https://api.github.com/users/ArduCAM/following{/other_user}","gists_url":"https://api.github.com/users/ArduCAM/gists{/gist_id}","starred_url":"https://api.github.com/users/ArduCAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArduCAM/subscriptions","organizations_url":"https://api.github.com/users/ArduCAM/orgs","repos_url":"https://api.github.com/users/ArduCAM/repos","events_url":"https://api.github.com/users/ArduCAM/events{/privacy}","received_events_url":"https://api.github.com/users/ArduCAM/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T00:26:55Z","updated_at":"2015-08-10T00:26:55Z","body":"Firmware Version\tOpenWRTYun Attitude Adjustment 1 / LuCI 0.11 Branch (0.11+svn10537)\r\nKernel Version\t3.3.8\r\nArduino IDE 1.5.8"}}