Skip to content

C and C++ Programming

A series of little how-to guides and tutorials for the C and C++ programming languages.

Using Multiple Workspaces In Eclipse

    If you do a lot of development work for lots of different programs or projects, you could try grouping them into separate workspaces in Eclipse.

    It’s really easy to do and is a nice way to keep different types of projects together.

    As you probably know, the default workspace is called ‘workspace’ and lives under your home folder on Linux. If you want to use additional workspaces, the steps below cover everything you need to know about using multiple workspaces:

    1. Create a new folder

    In your home directory, you need to create a new folder, which will be the location of your new workspace. You can call this folder anything: Coursework or 3DProjects, for example.

    Raspberry Pi Knight Rider LEDs Part 2

      Now we’ve got one LED up and running, it’s pretty easy to expand this to make a light bar like K.I.T.T.’s.

      Step 1 – Wire up the breadboard

      The next thing we need to do is switch everything off, and then wire up the breadboard as per the circuit diagram below. Leave the female ends of the jumper wires dangling for now – we’ll plug them into the Pi in step 2.

      knightrider_bb

      Raspberry Pi Knight Rider LEDs Part 1

        This is the first part of a two-parter on creating the K.I.T.T. light bar with LEDs using your Raspberry Pi (I know, awesome, right?). Here’s mine in action: In this section we’ll install the wiringPi…