{"action":"created","issue":{"url":"https://api.github.com/repos/Patryk27/pwr-hd44780/issues/1","repository_url":"https://api.github.com/repos/Patryk27/pwr-hd44780","labels_url":"https://api.github.com/repos/Patryk27/pwr-hd44780/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Patryk27/pwr-hd44780/issues/1/comments","events_url":"https://api.github.com/repos/Patryk27/pwr-hd44780/issues/1/events","html_url":"https://github.com/Patryk27/pwr-hd44780/issues/1","id":364129722,"node_id":"MDU6SXNzdWUzNjQxMjk3MjI=","number":1,"title":"20x4 lcd oveflow","user":{"login":"cubetastic33","id":33519300,"node_id":"MDQ6VXNlcjMzNTE5MzAw","avatar_url":"https://avatars0.githubusercontent.com/u/33519300?v=4","gravatar_id":"","url":"https://api.github.com/users/cubetastic33","html_url":"https://github.com/cubetastic33","followers_url":"https://api.github.com/users/cubetastic33/followers","following_url":"https://api.github.com/users/cubetastic33/following{/other_user}","gists_url":"https://api.github.com/users/cubetastic33/gists{/gist_id}","starred_url":"https://api.github.com/users/cubetastic33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cubetastic33/subscriptions","organizations_url":"https://api.github.com/users/cubetastic33/orgs","repos_url":"https://api.github.com/users/cubetastic33/repos","events_url":"https://api.github.com/users/cubetastic33/events{/privacy}","received_events_url":"https://api.github.com/users/cubetastic33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-26T17:14:32Z","updated_at":"2018-09-26T18:40:55Z","closed_at":null,"author_association":"NONE","body":"The overflow seems to be working wrongly for 20x4 LCDs. I have the following code:\r\n```\r\nlet mut lcd = pwr_hd44780::DirectLcd::new(Box::new(lcd_bus), 20, 4)\r\n    .expect(\"Error creating lcd instance\");\r\n```\r\nBut, when I print for example `abcdefghijklmnopqrstuvxyz abcdefghijklmnopqrstuvxyz abcdefghijklmnopqrstuvxyz`, it appears on my lcd as:\r\n```\r\nabcdefghijklmnopqrst\r\nopqrstuvxyz abcdefgh\r\nuvxyz abcdefghijklmn\r\nijklmnopqrstuvxyz\r\n```\r\nIt is overflowing in the order of first line -> third line -> second line -> fourth line, instead of first line -> second line -> third line -> fourth line. What do I do?"},"comment":{"url":"https://api.github.com/repos/Patryk27/pwr-hd44780/issues/comments/424825964","html_url":"https://github.com/Patryk27/pwr-hd44780/issues/1#issuecomment-424825964","issue_url":"https://api.github.com/repos/Patryk27/pwr-hd44780/issues/1","id":424825964,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDgyNTk2NA==","user":{"login":"Patryk27","id":3395477,"node_id":"MDQ6VXNlcjMzOTU0Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3395477?v=4","gravatar_id":"","url":"https://api.github.com/users/Patryk27","html_url":"https://github.com/Patryk27","followers_url":"https://api.github.com/users/Patryk27/followers","following_url":"https://api.github.com/users/Patryk27/following{/other_user}","gists_url":"https://api.github.com/users/Patryk27/gists{/gist_id}","starred_url":"https://api.github.com/users/Patryk27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patryk27/subscriptions","organizations_url":"https://api.github.com/users/Patryk27/orgs","repos_url":"https://api.github.com/users/Patryk27/repos","events_url":"https://api.github.com/users/Patryk27/events{/privacy}","received_events_url":"https://api.github.com/users/Patryk27/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T18:40:55Z","updated_at":"2018-09-26T18:40:55Z","author_association":"OWNER","body":"Hi,\r\n\r\nOverflowing is handled by the LCD's chip itself (i.e. the HD44780 controller) and, sadly, that's how it works.\r\n\r\nThe exact same issue has been described here, for instance: https://forum.arduino.cc/index.php?topic=14140.0\r\n\r\nThis problem should not happen when using the **buffered** version though - can you please check it?\r\n\r\nhttps://github.com/Patryk27/pwr-hd44780/blob/master/examples/frontends/buffered.rs - here's an example.\r\n\r\nPlease let me know if you encounter any more trouble."}}
{"actor":{"display_login":"Patryk27"}}