-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |