{"action":"closed","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/437","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/437/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/437/events","html_url":"https://github.com/esp8266/Arduino/issues/437","id":88965793,"number":437,"title":"Wrong GPIO number on ESP8266-12","user":{"login":"anhhuy0501","id":1640765,"avatar_url":"https://avatars.githubusercontent.com/u/1640765?v=3","gravatar_id":"","url":"https://api.github.com/users/anhhuy0501","html_url":"https://github.com/anhhuy0501","followers_url":"https://api.github.com/users/anhhuy0501/followers","following_url":"https://api.github.com/users/anhhuy0501/following{/other_user}","gists_url":"https://api.github.com/users/anhhuy0501/gists{/gist_id}","starred_url":"https://api.github.com/users/anhhuy0501/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhhuy0501/subscriptions","organizations_url":"https://api.github.com/users/anhhuy0501/orgs","repos_url":"https://api.github.com/users/anhhuy0501/repos","events_url":"https://api.github.com/users/anhhuy0501/events{/privacy}","received_events_url":"https://api.github.com/users/anhhuy0501/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-17T09:23:15Z","updated_at":"2015-06-25T10:01:11Z","closed_at":"2015-06-25T10:01:11Z","body":"I use this code:\r\n\r\nvoid setup() {\r\n    pinMode(4, OUTPUT);\r\n}\r\nvoid loop() {\r\n  digitalWrite(4,0);\r\n  delay(1000);\r\n  digitalWrite(4,1);\r\n  delay(1000);\r\n}\r\n\r\nThe esp8266-12 should change the state of pin GPIO4 but it changes the state of GPIO5 instead. Is the pin diagram wrong?\r\n\r\nThe pin diagram of ESP8266-12 look like in this link: https://raw.githubusercontent.com/Links2004/Arduino/esp8266/docs/ESP_improved_stability.png \r\n"}}