Problem with Software PiPhone.py

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
Gonca27
 
Posts: 7
Joined: Mon Feb 29, 2016 4:07 pm

Problem with Software PiPhone.py

Post by Gonca27 »

Good evening. I chose one of the projects published in Adafruit's page named Piphone as my ''PAP'' project in school. Im getting a problem and i can't currently solve it. I followed all of your indications, step-by-step, as showed in this page: https://learn.adafruit.com/piphone-a-ra ... e/pi-setup
When i try to run the software Pihpone.py, the screen rotates horizontally, fully disabling me of seeing the software at all. How can i rotate the screen vertically in order to use this software?
Attachments
IMG_0873.jpg
IMG_0873.jpg (381.33 KiB) Viewed 360 times
IMG_20160301_214823.jpg
IMG_20160301_214823.jpg (716.38 KiB) Viewed 360 times

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Problem with Software PiPhone.py

Post by adafruit_support_mike »

Post the contents of /etc/modprobe.d/adafruit.conf and we'll make sure the rotation is set correctly.

User avatar
Gonca27
 
Posts: 7
Joined: Mon Feb 29, 2016 4:07 pm

Re: Problem with Software PiPhone.py

Post by Gonca27 »

At "etc/modprobe.d/adafruit.conf" i typed: "options fbtft_device name=adafruitct28 rotate=0 frequency=32000000"

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Problem with Software PiPhone.py

Post by adafruit_support_mike »

Double-check the contents of the file to make sure it's character-for-character identical to the text in the tutorial. It's one of those places where it's easy to make a typo, and every letter matters.

User avatar
Gonca27
 
Posts: 7
Joined: Mon Feb 29, 2016 4:07 pm

Re: Problem with Software PiPhone.py

Post by Gonca27 »

I opened the adafruit.conf file with LibreOffice Writer and found that the code was exactly the same as it asks the tutorial.

User avatar
Gonca27
 
Posts: 7
Joined: Mon Feb 29, 2016 4:07 pm

Re: Problem with Software PiPhone.py

Post by Gonca27 »

I need to solve this problem fast. I'm almost out of time to finish this project.

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Problem with Software PiPhone.py

Post by adafruit_support_mike »

Try changing the value of 'rotate' to 1, 2, or 3 and see what effect that has.

User avatar
Gonca27
 
Posts: 7
Joined: Mon Feb 29, 2016 4:07 pm

Re: Problem with Software PiPhone.py

Post by Gonca27 »

I tried to change the value to 1,2 and 3 and nothing has changed. It stood the same as the image i posted here.

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Problem with Software PiPhone.py

Post by adafruit_support_mike »

That suggests a problem in the config file. Config file parsers usually stop reading when they hit an input character they don't expect. Please post the contents of the file.. not what you think you typed, but a byte-for-byte copy of the file.

User avatar
Gonca27
 
Posts: 7
Joined: Mon Feb 29, 2016 4:07 pm

Re: Problem with Software PiPhone.py

Post by Gonca27 »

In the folder "adafruit.conf", i have : ''options fbtft_device name=adafruitct28 rotate=0 frequency=32000000''. Im leaving here some photos i captured to confirm.
Attachments
10306902_1088608621170390_1286580416_n.jpg
10306902_1088608621170390_1286580416_n.jpg (42.88 KiB) Viewed 210 times
12833193_1088608561170396_1400172842_n.jpg
12833193_1088608561170396_1400172842_n.jpg (30.55 KiB) Viewed 210 times

User avatar
adafruit2
 
Posts: 22192
Joined: Fri Mar 11, 2005 7:36 pm

Re: Problem with Software PiPhone.py

Post by adafruit2 »

the rotate value should be 90, 180 or 270 not '0, 1, 2, 3'- try those!

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”