pi serial write attempt1