{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":174830908,"defaultBranch":"main","name":"microbit","ownerLogin":"mattheww","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2019-03-10T13:58:13.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/395747?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1706973142.0","currentOid":""},"activityList":{"items":[{"before":"0e476f126ade188bdac5ca2f8376425064d2d541","after":"d4f3bfa8b23773673e2387bd26e877863af4289f","ref":"refs/heads/main","pushedAt":"2024-02-03T15:33:54.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"mattheww","name":"Matthew Woodcraft","path":"/mattheww","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/395747?s=80&v=4"},"commit":{"message":"Merge pull request #128 from mattheww/2024-02_nb-refresh\n\nFix blocking::Display::set_refresh_rate()","shortMessageHtmlLink":"Merge pull request nrf-rs#128 from mattheww/2024-02_nb-refresh"}},{"before":null,"after":"18f4e686980e2a2087aba573638583aa9ec60a42","ref":"refs/heads/2024-02_gpio-order","pushedAt":"2024-02-03T15:12:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mattheww","name":"Matthew Woodcraft","path":"/mattheww","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/395747?s=80&v=4"},"commit":{"message":"Non-blocking display: change the order of GPIO writes\n\nOn the micro:bit v2 the GPIO pins are behind two ports, and it takes\nfour IO writes to update all the pins: one \"clear multiple pins\" and one\n\"set multiple pins\" per port.\n\n(It's possible to set pins to both low and high using OUT, but we can't\nuse that as we don't own all the pins on the port.)\n\nSo there is a brief period where the pins are in a mix of the old and\nnew states, and evidently in debug builds this can persist for long\nenough to be visible.\n\nWe can fix this by changing the order of writes: make the first write be\nthe one that makes the old row dark, and the last one be the one that\nmakes the new row light.\n\nWe might as well also arrange the code so that it doesn't perform any\ncalculations between the GPIO writes (on the theory that in debug mode\nthe compiler probably won't be reordering things).\n\nI believe this sort of \"tearing\" isn't possible on the micro:bit v1,\nwhichever order we use for writes, because the write that turns on a row\nturns off all the columns we don't want to be lit, and the write that\ncan turn on columns turns off the rows that we don't want to be lit (to\nlight an LED, we have to set the row bit and clear the col bit).\n\nBut I've left the order of writes for micro:bit v1 as it was before anyway,\nout of prudence.","shortMessageHtmlLink":"Non-blocking display: change the order of GPIO writes"}},{"before":null,"after":"68b5bafece21842397b4cd4f5d809efefd1965fc","ref":"refs/heads/2024-02_nb-refresh","pushedAt":"2024-02-03T11:43:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mattheww","name":"Matthew Woodcraft","path":"/mattheww","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/395747?s=80&v=4"},"commit":{"message":"Fix blocking::Display::set_refresh_rate()\n\nThe calculation was wrong for the micro:bit V2.","shortMessageHtmlLink":"Fix blocking::Display::set_refresh_rate()"}},{"before":"c7fbd9aad4ca8aeeaaea5682b30136bcd5a5fa62","after":"0e476f126ade188bdac5ca2f8376425064d2d541","ref":"refs/heads/main","pushedAt":"2024-02-03T09:18:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"mattheww","name":"Matthew Woodcraft","path":"/mattheww","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/395747?s=80&v=4"},"commit":{"message":"Merge pull request #127 from mattheww/2024-01_mb2-refresh\n\nDouble the non-blocking display refresh frequency for the micro:bit V2","shortMessageHtmlLink":"Merge pull request nrf-rs#127 from mattheww/2024-01_mb2-refresh"}},{"before":null,"after":"3594c103608aebd31f52d06ac2678dd3c4fef185","ref":"refs/heads/2024-01_mb2-refresh","pushedAt":"2024-02-01T21:28:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mattheww","name":"Matthew Woodcraft","path":"/mattheww","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/395747?s=80&v=4"},"commit":{"message":"Double the non-blocking display refresh frequency for the micro:bit V2","shortMessageHtmlLink":"Double the non-blocking display refresh frequency for the micro:bit V2"}},{"before":"17fefecfeedb97dafec860283fd7dd93591d446e","after":"c7fbd9aad4ca8aeeaaea5682b30136bcd5a5fa62","ref":"refs/heads/main","pushedAt":"2024-01-31T22:14:45.000Z","pushType":"push","commitsCount":48,"pusher":{"login":"mattheww","name":"Matthew Woodcraft","path":"/mattheww","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/395747?s=80&v=4"},"commit":{"message":"Merge pull request #122 from videbar/update-non-blocking-display-documentation\n\nUpdated non-blocking display documenation and added Changelog entry","shortMessageHtmlLink":"Merge pull request nrf-rs#122 from videbar/update-non-blocking-displa…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD8Q5k9gA","startCursor":null,"endCursor":null}},"title":"Activity · mattheww/microbit"}