adding Raspberry Pi C code