Unless my glasses are not thick enough, the hserin appears to be missing a variable to store value. Have you tried a single character? Maybe hserout will only send a string from an array ? Just thinking out loud . . .