This post is out-of-date.- Please update to latest version

Fish Dish This board is available from PiSupply and is a simple board to use for a Traffic Light simulation with its 3 LEDs and buzzer and switch. It also has an added advantage of providing all of the GPIO pins for further expansion so any I2C device or any extra addon board can be piggy backed on top of it :)

The LEDS are called Led1..3, the buzzer is called buzzer and the switch is called switch (up and down)

The LEDs can also be referred to by name e.g red, yellow or green.

About these ads

4 responses »

  1. Bob says:

    I’m loving your site and my 7 year old and I have been having fun with our new Pi.

    But, we are going crazy trying to figure out how to control the GPIO with Scratch.

    In particular, there seems to be some sort of conflict between your GPIO handler and the handler provided by PiFace.

    We have a PiFace and can use the python emulator to control its LED outputs, so I know that it is connected and working. But it’s scratch handler doesn’t seem to be working.

    I’d like to uninstall the simplesi scratch handler to see if that is the problem, but after hours of trying, I have not been able to find a way to uninstall it. Any tips?

    • cymplecy says:

      Hi
      I’ve not written an uninstaller but can I suggest a few ideas.

      My handler is only invoked if your run the ScratchGPIO desktop icon – so if you reboot and don’t run it – then its not running and cannot interfere with anything and no need to uninstall it.

      But if you run it and then try and run the Piface version then you will run into problems as they basically do the same job (in different ways).

      So basically, if you have a PiFace, just stick with their code (my handler was copied from their one)

      If you want to completely remove my code – just go into LX Terminal and type
      sudo rm -R /home/pi/scratchgpio4

      Simon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s