ok
I took another SD card and wrote the latest raspbian (2014-01-07-wheezy-raspbian)
booted, did apt-get update & apt-get upgrade & rpi-update
then after a reboot I commented the spi-bcm2708 in /etc/modprobe.d/raspi-blacklist.conf and rebooted
I checked the connections... are OK
next I followed the how-to and installed all the packages
Code: Select all
pi@raspberrypi ~ $ sudo apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
git-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi ~ $ git clone git://git.drogon.net/wiringPi
Cloning into 'wiringPi'...
remote: Counting objects: 599, done.
remote: Compressing objects: 100% (541/541), done.
remote: Total 599 (delta 425), reused 96 (delta 58)
Receiving objects: 100% (599/599), 233.09 KiB, done.
Resolving deltas: 100% (425/425), done.
pi@raspberrypi ~ $ cd wiringPi/
pi@raspberrypi ~/wiringPi $ ./build
wiringPi Build script
=====================
WiringPi Library
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] wiringPiI2C.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
[Compile] pcf8591.c
[Compile] mcp3002.c
[Compile] mcp3004.c
[Compile] mcp4802.c
[Compile] mcp3422.c
[Compile] max31855.c
[Compile] max5322.c
[Compile] sn3218.c
[Compile] drcSerial.c
[Link (Dynamic)]
[Install Headers]
[Install Dynamic Lib]
WiringPi Devices Library
[UnInstall]
[Compile] ds1302.c
[Compile] maxdetect.c
[Compile] piNes.c
[Compile] gertboard.c
[Compile] piFace.c
[Compile] lcd128x64.c
[Compile] lcd.c
[Compile] piGlow.c
[Link (Dynamic)]
[Install Headers]
[Install Dynamic Lib]
GPIO Utility
[Compile] gpio.c
gpio.c:85:12: warning: ‘decodePin’ defined but not used [-Wunused-function]
[Compile] extensions.c
[Compile] readall.c
[Link]
[Install]
All Done.
NOTE: This is wiringPi v2, and if you need to use the lcd, Piface,
Gertboard, MaxDetext, etc. routines then you must change your
compile scripts to add -lwiringPiDev
pi@raspberrypi ~/wiringPi $ cd ..
pi@raspberrypi ~ $ git clone git://github.com/linupi/RaspPiTouchLCD.git
Cloning into 'RaspPiTouchLCD'...
remote: Reusing existing pack: 41, done.
remote: Total 41 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (41/41), 41.16 KiB, done.
Resolving deltas: 100% (13/13), done.
pi@raspberrypi ~ $ cd RaspPiTouchLCD/
pi@raspberrypi ~/RaspPiTouchLCD $ ./build
compiling helloWorld.c
run with sudo ./helloWorld
compiling geometry.c
run with sudo ./geometry
compiling images.c
run with sudo ./images
compiling touch.c
run with sudo ./touch
compiling touch_calibration.c
run with sudo ./touch_calibration
pi@raspberrypi ~/RaspPiTouchLCD $ gpio load spi
pi@raspberrypi ~/RaspPiTouchLCD $ sudo ./helloWorld
pi@raspberrypi ~/RaspPiTouchLCD $
and no text appears on the display
but... I don't know what to do with the
Code: Select all
NOTE: This is wiringPi v2, and if you need to use the lcd, Piface,
Gertboard, MaxDetext, etc. routines then you must change your
compile scripts to add -lwiringPiDev
add it? where?