{"action":"created","issue":{"url":"https://api.github.com/repos/luc-github/ESP8266/issues/83","repository_url":"https://api.github.com/repos/luc-github/ESP8266","labels_url":"https://api.github.com/repos/luc-github/ESP8266/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/luc-github/ESP8266/issues/83/comments","events_url":"https://api.github.com/repos/luc-github/ESP8266/issues/83/events","html_url":"https://github.com/luc-github/ESP8266/issues/83","id":141874145,"number":83,"title":"compile error","user":{"login":"mkeyno","id":6232001,"avatar_url":"https://avatars.githubusercontent.com/u/6232001?v=3","gravatar_id":"","url":"https://api.github.com/users/mkeyno","html_url":"https://github.com/mkeyno","followers_url":"https://api.github.com/users/mkeyno/followers","following_url":"https://api.github.com/users/mkeyno/following{/other_user}","gists_url":"https://api.github.com/users/mkeyno/gists{/gist_id}","starred_url":"https://api.github.com/users/mkeyno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkeyno/subscriptions","organizations_url":"https://api.github.com/users/mkeyno/orgs","repos_url":"https://api.github.com/users/mkeyno/repos","events_url":"https://api.github.com/users/mkeyno/events{/privacy}","received_events_url":"https://api.github.com/users/mkeyno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/luc-github/ESP8266/labels/Compatibility","name":"Compatibility","color":"c7def8"},{"url":"https://api.github.com/repos/luc-github/ESP8266/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-03-18T13:58:11Z","updated_at":"2016-03-18T19:47:08Z","closed_at":null,"body":"hi @luc-github , thanks for sharing the code , I put your codes in Arduino 1.6.7  and face the following error , also why do you use ptl format instead the html,  \r\nbr\r\n\r\n`\r\nsketch\\wifi.cpp: In member function 'bool WIFI_CONFIG::Setup()':\r\n\r\nwifi.cpp:161: error: 'sleep_type' was not declared in this scope\r\n\r\n     wifi_set_sleep_type ((sleep_type)bflag);\r\n\r\n                           ^\r\n\r\nwifi.cpp:181: error: 'phy_mode' was not declared in this scope\r\n\r\n         wifi_set_phy_mode((phy_mode)bflag);\r\n\r\n                            ^\r\n\r\nwifi.cpp:217: error: 'phy_mode' was not declared in this scope\r\n\r\n         wifi_set_phy_mode((phy_mode)bflag);\r\n\r\n                            ^\r\n\r\nexit status 1\r\n'sleep_type' was not declared in this scope\r\n\r\n\r\n`"},"comment":{"url":"https://api.github.com/repos/luc-github/ESP8266/issues/comments/198515366","html_url":"https://github.com/luc-github/ESP8266/issues/83#issuecomment-198515366","issue_url":"https://api.github.com/repos/luc-github/ESP8266/issues/83","id":198515366,"user":{"login":"luc-github","id":8822552,"avatar_url":"https://avatars.githubusercontent.com/u/8822552?v=3","gravatar_id":"","url":"https://api.github.com/users/luc-github","html_url":"https://github.com/luc-github","followers_url":"https://api.github.com/users/luc-github/followers","following_url":"https://api.github.com/users/luc-github/following{/other_user}","gists_url":"https://api.github.com/users/luc-github/gists{/gist_id}","starred_url":"https://api.github.com/users/luc-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luc-github/subscriptions","organizations_url":"https://api.github.com/users/luc-github/orgs","repos_url":"https://api.github.com/users/luc-github/repos","events_url":"https://api.github.com/users/luc-github/events{/privacy}","received_events_url":"https://api.github.com/users/luc-github/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T19:47:08Z","updated_at":"2016-03-18T19:47:08Z","body":"add return carriage to be able to key commands in serial monitor, need \\n\r\n"}}