You do not need to program. Just install the Raspberry Pi GPIO plugin After that, bind the virtual devices to the channels Raspberry