{"action":"opened","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1392","repository_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1392/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1392/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/1392/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/1392","id":165279578,"number":1392,"title":"Bug: NodeMCU-Build custom rom vs Nokia 5110 LCD Driver","user":{"login":"nguyenhuu43","id":4716065,"avatar_url":"https://avatars.githubusercontent.com/u/4716065?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenhuu43","html_url":"https://github.com/nguyenhuu43","followers_url":"https://api.github.com/users/nguyenhuu43/followers","following_url":"https://api.github.com/users/nguyenhuu43/following{/other_user}","gists_url":"https://api.github.com/users/nguyenhuu43/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenhuu43/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenhuu43/subscriptions","organizations_url":"https://api.github.com/users/nguyenhuu43/orgs","repos_url":"https://api.github.com/users/nguyenhuu43/repos","events_url":"https://api.github.com/users/nguyenhuu43/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenhuu43/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-13T09:43:19Z","updated_at":"2016-07-13T09:43:19Z","closed_at":null,"body":"8<------------------------ BUG REPORT -----------------------------------------\r\n### Expected behavior\r\nHello, I want to connect between ESP-03 runs custom build from NodeMCU-Build and Nokia 5110 LCD PCD8544). I ran the code as following, but when it run to line\r\n`pcd = u8g.pcd8544_84x48_hw_spi(cs, dc, res)` \r\n, the board send some un-readable text, and reset.\r\n\r\n### Actual behavior\r\n\r\n### Test code\r\n\r\n```\r\nfunction init_spi_display()\r\n     local cs  = 8 -- GPIO15, pull-down 10k to GND\r\n     local dc  = 4 -- GPIO2\r\n     local res = 0 -- GPIO16\r\n\r\n     spi.setup(1, spi.MASTER, spi.CPOL_LOW, spi.CPHA_LOW, 16, 0)\r\n\r\n     pcd = u8g.pcd8544_84x48_hw_spi(cs, dc, res)\r\nend\r\n-- the draw() routine\r\nfunction draw()\r\n     pcd:drawStr( 5+0, 5+0, \"Hello!\")\r\nend\r\n\r\ninit_spi_display()\r\n\r\ndraw()\r\n```\r\n\r\n### NodeMCU version\r\n\r\n> NodeMCU custom build by frightanic.com\r\n> \tbranch: master\r\n> \tcommit: b580bfe79e6e73020c2bd7cd92a6afe01a8bc867\r\n> \tSSL: false\r\n> \tmodules: file,gpio,http,i2c,mdns,mqtt,net,node,pwm,sntp,spi,tmr,u8g,uart,wifi\r\n>  build \tbuilt on: 2016-07-13 09:12\r\n>  powered by Lua 5.1.4 on SDK 1.5.1(e67da894)\r\n\r\n### Hardware\r\n\r\n> ESP-03 with PL2303\r\n\r\n8<------------------------ END BUG REPORT -------------------------------------\r\n\r\n"}}
{"actor":{"display_login":"nguyenhuu43"}}