To test out your FONA, install minicom with the command:
sudo apt-get install minicom
sudo minicom -D /dev/ttyAMA0 -b 9600
You should get a serial terminal. If you type
you should get “OK” back. If you don’t, check your connections. If you do, the FONA is ready for operation.
You may have noticed the text on the PiTFT is sideways and not in the orientation for a phone. Lets change that with the command:
sudo nano /etc/modprobe.d/adafruit.conf
In the file, change the “rotate” parameter to 180.
Finally, to get the Pi to automatically boot to LXDE on the PiTFT, follow this step in the adafruit guide:
Install Camera Software
Now lets install the software used to take pictures with the Raspberry Pi camera. First type:
sudo apt-get install python-pip
Install picamera with:
sudo pip install picamera=0.8
Finally get the software with
git clone https://github.com/spadgenske/adafruit-pi-cam