added C code to the pcb