Remove pin_write
Fix example