Serial Monitor help

We have a connection to a client (tablet) over wifi, and are trying to type in the serial monitor to send it to the client. This is our code:

char printtest;
printtest=Serial.read();
client.println(printtest);

We automatically get an E, and if we put it in a loop it continuously prints E before we can even type anything. How can we write in the serial monitor to send to the tablet? He can hard code messages in, and they will appear on the tablet.

http://snippets-r-us.com is where you go with snippets. Here, we want to see all of your code, to confirm that are using Serial.available() before Serial.read().

You have to check is something is available in the buffer.

Which WiFi card?

Mark

We are using the Platinum for DIY Sandbox. We are now thinking you can somehow check it through Terminal on a Mac but we aren't sure how

https://diysandbox.com/our-products/platinum-arduino-mini-with-wifi