dumbvfd 0.0.1 → 0.0.2

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dumbvfd.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 848c668409a7acfb9a28bf170c376d10ac52f5b0
4
- data.tar.gz: 37d235503cbd8973c42005005dbc3bf6a24092e4
3
+ metadata.gz: 16bc2b363bc845b509cb5534f9d81b0d0ceccd7e
4
+ data.tar.gz: f1a920502ce59420e8494cbc8fddc46a30030f4f
5
5
  SHA512:
6
- metadata.gz: 8350b40b363e539206fd10506daeacae1cf209a72c516f5ca5b59bb6ebc1c7c2f731d67c46753d3c8edbd5e5c108ca67c4b23455b67e319c2b0999a8e463427b
7
- data.tar.gz: ab3a481cdd63015dde343aa80c47bc2bd4d818eeb3f5f4b3a370e475488d666ea1ba0b6ad58064540b67d77c529f33fa77f594d856490c46d36839167182d1a9
6
+ metadata.gz: 97f1fd982d798191fa0f9db2a1891d6877f2a5d7a421f99fb31c6e0aeaf56144e143a78c2b71677361fb148cc5eb00180058e0329b1f23f72f9b68523102832b
7
+ data.tar.gz: 4ebd7fdf1d369b07f321a6c94e37988373b67dd48893677b2aad9be931afaa59a0328423033e3a97aa2f5a44848394f4b690140ce96f5bc032aad5c769dc2e54
data/lib/dumbvfd.rb CHANGED
@@ -20,6 +20,10 @@ class Vfd
20
20
  end
21
21
  end
22
22
 
23
+ def display_wrap(data)
24
+ $serial.write("#{data[0...39]}")
25
+ end
26
+
23
27
  def clear_screen
24
28
  $serial.write("\x0\x0a\x0\x0d")
25
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dumbvfd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harold Giddings/KR0SIV
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: This gem allows uses a serial port communicate with dumb terminal hardware.
27
+ description: This gem uses a serial port to communicate with dumb terminal hardware.
28
28
  Such as a VFD Pole Display.
29
29
  email:
30
30
  - harold@giddings.me