I used to play with a Lego train set with BBC Basic on the BBC microcomputer 30 years ago and thought that I'd now like to do the same with the Raspberry Pi and the PiFace Digital interface. However, it all seems far more complicated than BBC Basic! I connected everything up and followed the instructions in the PiFace Digital Guide. I typed:
sudo nano etc/modprobe.d/raspi.blacklist.conf
and was presented with some sort of text editor, where I was told to add a # to the line blacklist/spi2708. However, there was no text there at all so I couldn't do this.
Instead I tried the alternative of loading the SPI driver by hand. The commands sud modprobe spi-bcm2708 seemed to load a succession of data and I proceeded as far as the sudo reboot instruction as requested. Thereafter I tried to start the PiFace emulator with the request piface/scripts/piface-emulator, but was told that this didn't exist.
Assuming that I therefore did not have the PuiFace software installed I tried the instructions in the "install.txt" file (with sudo apt-get install .... etc.) but was told that this couldn't be done.
So! Can anyone one tell me what I need to do to get started?
Having failed, after another hour of trying, I decided to try Python instead. I followed the instructions on page 153 and 154 of theUser Guide tofor writing the HelloWorld progarm, but, when I click on the RUN NOW option, or press F5, I get the message "Invalid Syntax". I've checked and double-checked, but I have written it EXACTLY AS IN THE BOOK.
What am I doing wrong?