Skip to content

Commit

Permalink
added installation commands file
Browse files Browse the repository at this point in the history
  • Loading branch information
MakerDyne committed Jul 9, 2013
1 parent f72c9e8 commit 5b5ca2c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ cd~
wget https://github.com/MakerDyne/Memory-LCD-for-Raspberry-Pi/archive/master.zip
unzip master.zip

alternatively, the wget and unzip commands can be replaced within

git clone https://github.com/MakerDyne/Memory-LCD-for-Raspberry-Pi.github

which will grab the code direct from github ('sudo aptitude install git' if you don't have git installed)

you should end up with the following:

/home/USER/Memory-LCD-for-Raspberry-Pi-master/
Expand Down
24 changes: 24 additions & 0 deletions Software_Installation_Command_List.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Sample set of commands to get all necessary software running and the demo program compiled.
This set of commands installs the software in a new directory called 'electronics'.

cd ~
mkdir electronics
cd electronics

sudo aptitude install git
git clone https://github.com/MakerDyne/Memory-LCD-for-Raspberry-Pi.git

cd ~/electronics
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.25.tar.gz
tar zxvf bcm2835-1.25.tar.gz
cd bcm2835-1.25
./configure
make
sudo make check
sudo make install

cd ~/electronics/Memory-LCD-for-Raspberry-Pi/examples/demo/
g++ -c -g -Wall -funsigned-char demo.cpp ../../MemoryLCD.cpp
g++ -o demo demo.o MemoryLCD.o -l bcm2835 -l pthread
sudo ./demo
(Ctrl+C to stop the demo)

0 comments on commit 5b5ca2c

Please sign in to comment.