I was wondering if you could print some strings (not just variables) on Serial Monitor. So suppose i want to record the number of sensor hit on the wall and i want to print the current time on timer and the number of sensor hits but before the values, i want to have like some sort of strings.
eg..
Current Time: time (timer variable)
Hit Counts: count (sensor count variable)
Is this possible? How do you code that? Would that be something like Serial.println("Current Time: "&time)? or similar to this?
Similar, but not exactly. You can't do concatenation within the Serial functions themselves, but you can chain print() and println() to get the output you want.
Serial.print("Current Time"); //Not println(), or you'll get a carriage return and line feed.
Serial.println(time);
All in all she got amazingly good service from you two - I was expecting to see a terse post consisting of a link to the reference docs on Serial.print.