There is no such thing as “raspberry pi sketch”. The Pi is completely different from the Arduino platform.