Arduino master to arduino slave code not working correctly

@ DrDiettrich i do not understand what you mean. can you please elaborate?