Directory
Forums:
I think i run into a issue when trying to setup the ledborg directory
I am using the Raspberry pi 2 model b
This first part works fine
sudo apt-get update
sudo apt-get -y install python-dev python-setuptools
With easy_install we can install WiringPi 2 by using the following command:
sudo easy_install wiringpi2
Its when i get to lesson 1 i put all the code and the led do not activate
Please help thanks
piborg
Tue, 08/04/2015 - 16:15
Permalink
LedBorg lesson 1
Okay, we can try downloading the completed script and see if that works okay.
First go to the LedBorg directory:
cd ~/ledborg
Next we will rename the copy you already have:
mv lesson1.py old-lesson1.py
Now we can download the finished copy from the website:
wget -O lesson1.py http://www.piborg.org/downloads/ledborg-new/lesson1.txt
We tell the Raspberry Pi this is a script we can run:
chmod +x lesson1.py
Now we should be able to run this script:
sudo ./lesson1.py
If everything is working you should see the LedBorg turn yellow for about five seconds.