Skip to content

Commit e431981

Browse files
committed
Updated README
1 parent 56fb508 commit e431981

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ require 'charlcd'
1818
char_lcd = CharLcd.new
1919
char_lcd.begin(16, 2)
2020
char_lcd.message("First Line\nSecond Line")
21+
char_lcd.clean_pins()
2122
```
2223

2324
License

Diff for: lib/charlcd.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def delay_microseconds(microseconds)
203203
sleep(seconds)
204204
end
205205

206-
def clean_pins()
206+
def clean_pins
207207
RPi::GPIO.clean_up
208208
end
209209
end

0 commit comments

Comments
 (0)