SSD1306 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1516116688f72cffc1a7856402ff00ad7ebd9ffb
4
- data.tar.gz: b345e88bdf2ce4a840478497bef54f379bf8c3c9
3
+ metadata.gz: 9dfa6e1f75b804ba330e1892460155c62f57186c
4
+ data.tar.gz: 5d7d81e5e49faac341a5fb577a50b32fd465e346
5
5
  SHA512:
6
- metadata.gz: 0ff7ce60231e94bb5b8055c4e4306819cf3132bc66c3c8f9f52eb0d94d51496c289006a1b360179e4a12ccf8610d580ba0428bbd158e2986cc9ae6df722fef48
7
- data.tar.gz: 75c2527c3d4d53370a40c28c471ea1317b53b105f2c3c841b9bce1a362f191776650cdeb3c99059667eb5b93157eca0ba90c2b5724402df2cdf970bd3f2f0b59
6
+ metadata.gz: f8f5949fc2faaaf478e1e4d35e4545c8b78edab9209a78e4a3ac1bf10e8e7bc6c0608e9a0d9bbbbdb44d31b8182c8a73ab1b8c2808043d9fc98834a92462c5f2
7
+ data.tar.gz: c68f9047dbf2fcb5d410d4c93f19104f59c154d8e9e89fb5980b051012b3bb7b6acc10c2d0cef176ccc1a6a871e413fb40a21ff95fb643d51ead81d93cb278ad
@@ -152,6 +152,7 @@ module SSD1306
152
152
  for bit in [0, 1, 2, 3, 4, 5, 6, 7]
153
153
  bits = bits << 1
154
154
  bits |= pix[(page*8*@width) + x + (bit*@width)] == 0 ? 0 : 1
155
+ end
155
156
  @buffer[index] = bits
156
157
  index += 1
157
158
  end
@@ -1,3 +1,3 @@
1
1
  module SSD1306
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SSD1306
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xavier Bick