{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/782","repository_url":"https://api.github.com/repos/espressif/arduino-esp32","labels_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/782/labels{/name}","comments_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/782/comments","events_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/782/events","html_url":"https://github.com/espressif/arduino-esp32/issues/782","id":268967593,"node_id":"MDU6SXNzdWUyNjg5Njc1OTM=","number":782,"title":"GPIO 34 & 35 always reads as LOW with Pull-up","user":{"login":"hasmqtt","id":21376687,"node_id":"MDQ6VXNlcjIxMzc2Njg3","avatar_url":"https://avatars1.githubusercontent.com/u/21376687?v=4","gravatar_id":"","url":"https://api.github.com/users/hasmqtt","html_url":"https://github.com/hasmqtt","followers_url":"https://api.github.com/users/hasmqtt/followers","following_url":"https://api.github.com/users/hasmqtt/following{/other_user}","gists_url":"https://api.github.com/users/hasmqtt/gists{/gist_id}","starred_url":"https://api.github.com/users/hasmqtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasmqtt/subscriptions","organizations_url":"https://api.github.com/users/hasmqtt/orgs","repos_url":"https://api.github.com/users/hasmqtt/repos","events_url":"https://api.github.com/users/hasmqtt/events{/privacy}","received_events_url":"https://api.github.com/users/hasmqtt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-27T02:16:26Z","updated_at":"2018-06-05T06:07:53Z","closed_at":"2017-10-27T15:33:41Z","author_association":"NONE","body":"### Hardware:\r\nBoard:\t\t\t\t\t\t\t?ESP32 WROOM32?\r\nCore Installation/update date:\t\t\t?11/jul/2017?\r\nIDE name:\t\t\t\t\t\t\t?Platform.io?\r\nFlash Frequency:\t\t\t\t\t?40Mhz?\r\nUpload Speed:\t\t\t\t\t\t?115200?\r\n\r\n\r\n### Description:\r\nGPIO read on pin 34 and 35 returns LOW even I have used internal pull-up. One of post on ESP32 I have read as silicon bug and handled using RTC GPIOs 34 - 39 are impacted with this silicon bug. \r\n\r\nAppreciate help or pointers on how to resolve it.\r\n\r\n\r\n### Sketch:\r\n```cpp\r\n#include <Arduino.h>\r\n\r\nconst int switchGPIOs[] = {34, 35, 32, 33, 25, 26}; //Connected to Switches\r\nconst int totalSwitches = sizeof(switchGPIOs)/sizeof(switchGPIOs[0]);\r\nconst int ssrGPIOs[] = {27, 14, 12, 13, 15, 2}; //Connected to LEDs\r\n\r\nvoid initGPIOs() {\r\n  for (int i = 0; i < totalSwitches; i++) {\r\n    pinMode(switchGPIOs[i], INPUT_PULLUP);\r\n    pinMode(ssrGPIOs[i], OUTPUT);\r\n    digitalWrite(ssrGPIOs[i], HIGH);\r\n  }\r\n}\r\n\r\nvoid readSwitches() {\r\n  for (int i = 0; i < totalSwitches; i++) {\r\n    int value = digitalRead(switchGPIOs[i]);\r\n    Serial.printf(\"Value read is %d ==> %d\\n\", i, value);\r\n    digitalWrite(ssrGPIOs[i], value);\r\n  }\r\n}\r\n\r\nvoid setup() {\r\n Serial.begin(115000);\r\n initGPIOs();\r\n}\r\n\r\nvoid loop() {\r\nreadSwitches();\r\ndelay(30);\r\n}\r\n```\r\n\r\n### Debug Messages:\r\nNone\r\n"},"comment":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/comments/394592628","html_url":"https://github.com/espressif/arduino-esp32/issues/782#issuecomment-394592628","issue_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/782","id":394592628,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDU5MjYyOA==","user":{"login":"NickChungVietNam","id":24602381,"node_id":"MDQ6VXNlcjI0NjAyMzgx","avatar_url":"https://avatars3.githubusercontent.com/u/24602381?v=4","gravatar_id":"","url":"https://api.github.com/users/NickChungVietNam","html_url":"https://github.com/NickChungVietNam","followers_url":"https://api.github.com/users/NickChungVietNam/followers","following_url":"https://api.github.com/users/NickChungVietNam/following{/other_user}","gists_url":"https://api.github.com/users/NickChungVietNam/gists{/gist_id}","starred_url":"https://api.github.com/users/NickChungVietNam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickChungVietNam/subscriptions","organizations_url":"https://api.github.com/users/NickChungVietNam/orgs","repos_url":"https://api.github.com/users/NickChungVietNam/repos","events_url":"https://api.github.com/users/NickChungVietNam/events{/privacy}","received_events_url":"https://api.github.com/users/NickChungVietNam/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T06:07:53Z","updated_at":"2018-06-05T06:07:53Z","author_association":"NONE","body":"MarkyAD  Thank you.\r\n"}}
{"actor":{"display_login":"NickChungVietNam"}}