{"action":"created","issue":{"url":"https://api.github.com/repos/olikraus/u8g2/issues/637","repository_url":"https://api.github.com/repos/olikraus/u8g2","labels_url":"https://api.github.com/repos/olikraus/u8g2/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/olikraus/u8g2/issues/637/comments","events_url":"https://api.github.com/repos/olikraus/u8g2/issues/637/events","html_url":"https://github.com/olikraus/u8g2/issues/637","id":332543071,"node_id":"MDU6SXNzdWUzMzI1NDMwNzE=","number":637,"title":"Support for e-paper partial refresh","user":{"login":"FrankX0","id":7318792,"node_id":"MDQ6VXNlcjczMTg3OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/7318792?v=4","gravatar_id":"","url":"https://api.github.com/users/FrankX0","html_url":"https://github.com/FrankX0","followers_url":"https://api.github.com/users/FrankX0/followers","following_url":"https://api.github.com/users/FrankX0/following{/other_user}","gists_url":"https://api.github.com/users/FrankX0/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankX0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankX0/subscriptions","organizations_url":"https://api.github.com/users/FrankX0/orgs","repos_url":"https://api.github.com/users/FrankX0/repos","events_url":"https://api.github.com/users/FrankX0/events{/privacy}","received_events_url":"https://api.github.com/users/FrankX0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-14T19:58:03Z","updated_at":"2018-06-14T20:50:06Z","closed_at":null,"author_association":"NONE","body":"E-paper controllers like SSD1607 support partial refresh. This allows for local updates, resulting in a smoother refresh appearance.\r\nFor the SSD1607 this can be implemented using a different LUT. I use following with good results:\r\n```\r\n0x10, 0x18, 0x18, 0x08, 0x18, 0x18, 0x08, 0x00, \r\n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \r\n0x00, 0x00, 0x00, 0x00, 0x13, 0x14, 0x44, 0x12, \r\n0x00, 0x00, 0x00, 0x00, 0x00, 0x00\r\n```\r\nI would like to propose to extend `u8x8_RefreshDisplay` with an extra `mode` option:\r\n```\r\nvoid u8x8_RefreshDisplay(u8x8_t *u8x8, uint8_t mode)\r\n{\r\n  u8x8->display_cb(u8x8, U8X8_MSG_DISPLAY_REFRESH, mode, NULL);  \r\n}\r\n```\r\n\r\n- Mode = 0: full refresh (current implementation)\r\n- Mode = 1: partial refresh\r\n"},"comment":{"url":"https://api.github.com/repos/olikraus/u8g2/issues/comments/397433805","html_url":"https://github.com/olikraus/u8g2/issues/637#issuecomment-397433805","issue_url":"https://api.github.com/repos/olikraus/u8g2/issues/637","id":397433805,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzQzMzgwNQ==","user":{"login":"FrankX0","id":7318792,"node_id":"MDQ6VXNlcjczMTg3OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/7318792?v=4","gravatar_id":"","url":"https://api.github.com/users/FrankX0","html_url":"https://github.com/FrankX0","followers_url":"https://api.github.com/users/FrankX0/followers","following_url":"https://api.github.com/users/FrankX0/following{/other_user}","gists_url":"https://api.github.com/users/FrankX0/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankX0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankX0/subscriptions","organizations_url":"https://api.github.com/users/FrankX0/orgs","repos_url":"https://api.github.com/users/FrankX0/repos","events_url":"https://api.github.com/users/FrankX0/events{/privacy}","received_events_url":"https://api.github.com/users/FrankX0/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T20:50:06Z","updated_at":"2018-06-14T20:50:06Z","author_association":"NONE","body":"With (the current) full refresh, the entire screen is switches between black and white before displaying the actual content. With a partial refresh, only the affected part of the screen is refreshed, so without the entire screen \"flickering\".\r\n[This](https://www.youtube.com/watch?v=enzUbiSWenQ) YouTube video shows good examples of a partial refresh (btw: at the start a full refresh is done, showing the switching between full black and white).\r\nBtw: I just finished implementing my suggestion. This works great for displaying things like time and temperature."}}
{"actor":{"display_login":"FrankX0"}}