- Install MPLAB as described on the E-Atelier website http://w3.id.tue.nl/en/intranet/electronic_atelier/microcontroller/programming/ Make sure you install it in c:\mcc18\ - Put the program code in a directory (e.g. C:\cubes\ ) - There are two subdirectories lkr: Holds the linker file for the PCI18F4550 chip inc: Hold the include files needed for this project Serial.c/Serial.h: Needed for the serial communication ( the block communicate with each other using the serial protocol). Timedelay.c/Timedelay.h: Used for some real/time delays e.g. Delay1mS(val). Blocks.c/Blocks.h: The library for the blocks, usage is described in the main file - In the main directory there are some files: cubes.mcp: the project file, this sets your directory's and compiler settings etc. cubes.mcw: the workspace file, this hold your workspace settings, e.g position of your windows and which windows are open etc. main_cubes.c : the main file you are going to edit DEMO files: sender_demo.c: a demo how to configure a sending cube receiver_demo.c: a demo how to configure a receiving only cube accelerometer_demo.c: a demo how to configure a cube with a acellerometer - Open the project cubes.mcp with MPLAB (if you didn't install MPLAB in c:\mcc18\ you can edit this file with notepad to correct the file location)