Control an RGB Led with an iPad and TI's CC2540 chip