Hello all,
I have a problem that I can't figure when I try to initialize my Adafruit 16x2 Character LCD + Keypad on my Raspberry Pi.
Every steps of http://learn.adafruit.com/adafruit-16x2 ... y-pi/usage had been followed and successfull until initialization, when I type :
lcd = Adafruit_CharLCDPlate()
The return is : bash error with the unexpected "(" .... or someting like that because it's in french "-bash: Erreur de syntaxe près du symbole inattendu « ( »
I wonder what I've missed ... especially after all that success
Note : Raspbian is up to date, all dependencies are satisfied (although I think so)
Thank you.
(SOLVED) Problem during initialization of Adafruit 16x2 Char
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 2
- Joined: Thu Mar 20, 2014 2:32 am
(SOLVED) Problem during initialization of Adafruit 16x2 Char
Last edited by qnitech on Fri Mar 21, 2014 2:06 am, edited 1 time in total.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Problem during initialization of Adafruit 16x2 Character
That's not a command line instruction - that's a line from the python program.You're supposed to edit that line if python has a problem finding your plate.qnitech wrote:lcd = Adafruit_CharLCDPlate()
You should be running the python program from the command line:
Code: Select all
sudo python Adafruit_CharLCDPlate.py
-
- Posts: 2
- Joined: Thu Mar 20, 2014 2:32 am
Re: Problem during initialization of Adafruit 16x2 Character
... aw ... ok ... make sens now thanks M. Rick.
Anyways, I still have trouble to display what's in the LCDTest.py ...
sudo python Adafruit_I2C.py "Default I2C bus is accessible"
..but no display ... .. but ... but ... wait ... just turn a little the contrast ... and voila !!
Sorry ... I'm learning .. I'm learning
Anyways, I still have trouble to display what's in the LCDTest.py ...
sudo python Adafruit_I2C.py "Default I2C bus is accessible"
..but no display ... .. but ... but ... wait ... just turn a little the contrast ... and voila !!
Sorry ... I'm learning .. I'm learning
Please be positive and constructive with your questions and comments.