raspi_lcd 0.83 → 0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/raspi_lcd.rb +6 -0
  2. metadata +3 -2
data/lib/raspi_lcd.rb CHANGED
@@ -9,5 +9,11 @@ module RaspiLCD
9
9
 
10
10
  def buttons_pressed
11
11
  DIRECTIONS.select{|d| button_pressed(d)}
12
+ end
13
+
14
+ # print a string with the encoding used by the Raspi LCD interface
15
+ # requires ruby 1.9
16
+ def print_encoded_xy(x,y,s)
17
+ print_xy(x,y,s.encode("CP852"))
12
18
  end
13
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raspi_lcd
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.83'
4
+ version: '0.84'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-30 00:00:00.000000000 Z
12
+ date: 2013-06-14 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Ruby bindings for the Raspberry Pi LCD interface
15
15
  email: till@communtu.org
@@ -63,3 +63,4 @@ signing_key:
63
63
  specification_version: 3
64
64
  summary: Ruby bindings for the Raspberry Pi LCD interface
65
65
  test_files: []
66
+ has_rdoc: