Skip to content

Commit 2134d1a

Browse files
author
K. Townsend
committed
2 parents 716cb56 + 7b26f75 commit 2134d1a

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

Adafruit_CharLCD/Adafruit_CharLCD.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class Adafruit_CharLCD:
1313

14-
def __init__(self, pin_rs=24, pin_e=23, pins_db=[17, 21, 22, 25]):
14+
def __init__(self, pin_rs=25, pin_e=24, pins_db=[23, 17, 21, 22]):
1515

1616
self.pin_rs = pin_rs
1717
self.pin_e = pin_e
@@ -99,5 +99,5 @@ def message(self, text):
9999
lcd = Adafruit_CharLCD()
100100

101101
lcd.clear()
102-
lcd.message(" Adafruit 16x2\n Standard LCD")
102+
lcd.message(" Adafruit 16x2\n Standard LCD")
103103

Adafruit_CharLCD/Adafruit_CharLCD_IPclock_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ def run_cmd(cmd):
1818
lcd.clear()
1919
ipaddr = run_cmd(cmd)
2020
lcd.message(datetime.now().strftime('%b %d %H:%M:%S\n'))
21-
lcd.message('My IP: %s' % ( ipaddr ) )
21+
lcd.message('IP %s' % ( ipaddr ) )
2222
sleep(2)

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
Raspberry-Pi
1+
Adafruit's Raspberry-Pi Python Code Library
22
============
3+
Here is a growing collection of libraries and example python scripts
4+
for controlling a variety of Adafruit electronics with a Raspberry Pi
5+
6+
In progress!
37

4-
my pi stuff
8+
Adafruit invests time and resources providing this open source code,
9+
please support Adafruit and open-source hardware by purchasing
10+
products from Adafruit!
11+
12+
Written by Limor Fried, Kevin Townsend and Mikey Sklar for Adafruit Industries.
13+
BSD license, all text above must be included in any redistribution
14+
15+
To download, we suggest logging into your Pi with Internet accessibility and typing:
16+
git clone https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git

0 commit comments

Comments
 (0)