{"push_id":2808742418,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"5ab05500d42c789764b0df0f9db201da16981c3b","before":"dea312d670af8ba5edf564f39c0010885020c020","commits":[{"sha":"6720d51df27b392b539be7a9a5a8c23cb852e43e","author":{"name":"Bogdan Symchych","email":"7b016654f14764eada770d8adedbb6b830f21a26@gmail.com"},"message":"Merge pull request #3 from bnielsen1965/master\n\nFix setTimeout bug in busy check. Fix bug in writeString that adds ex…","distinct":true,"url":"https://api.github.com/repos/bnielsen1965/oled-i2c-bus/commits/6720d51df27b392b539be7a9a5a8c23cb852e43e"},{"sha":"d5b9686235099e8b083a756c5d10a79ab6f0a552","author":{"name":"laurbadescu","email":"734f5a2da60050c3ac680a4ec861b1472e1d5760@users.noreply.github.com"},"message":"Speed up page update on display and page clear\n\nI am using oled-i2c-bus to display an interactive menu on a SSD1306 0.96 128x64 OLED display attached to a Raspberry Pi Zero.\r\nThe library works very well except for a few design flaws that can be easily corrected.\r\nThe most important one is the display speed. By using _transfer function, the payload is segmented into individual bytes that are send each in a separate transaction. These transactions add the data byte (0x40) before the payload byte thus doubling the throughput.\r\nThis has the unpleasant effect of one actually seeing the screen as it slowly refreshes.\r\nHowever, the payload bytes can also be sent in a burst, with a single leading data byte 0x40, bypassing _transfer function altogether and writing directly to i2c. Therefore the update time is halved.\r\nThis doesn't sound as much in theory but in practice is a huge improvement as the eye sees an almost instant update as opposed to a slooooow refresh.\r\nAnother improvement would be the actual clearDisplay function which is very complicated and slow. A clear display action should simply fill the buffer with 0x00 and if required, update the display.","distinct":true,"url":"https://api.github.com/repos/bnielsen1965/oled-i2c-bus/commits/d5b9686235099e8b083a756c5d10a79ab6f0a552"},{"sha":"5ab05500d42c789764b0df0f9db201da16981c3b","author":{"name":"Bogdan Symchych","email":"7b016654f14764eada770d8adedbb6b830f21a26@gmail.com"},"message":"Merge pull request #5 from laurbadescu/patch-1\n\nSpeed up page update on display and page clear","distinct":true,"url":"https://api.github.com/repos/bnielsen1965/oled-i2c-bus/commits/5ab05500d42c789764b0df0f9db201da16981c3b"}]}
{"actor":{"display_login":"bnielsen1965"}}