serial.h
int readSerialReal() {
#if enableSerial
	return Serial.read(); // serial enabled
#else
	return -1; // serial not enabled
#endif
}
// read a byte from serial
// always returns -1 if serial is not enabled
// Call this as readSerial()!
read a byte from serial
always returns -1 if serial is not enabled
Call this as readSerial()!
read a byte from serial always returns - 1 if serial is not enabled Call this as readSerial () !
int readSerialReal() {
#if enableSerial
	return Serial.read(); 
#else
	return -1; 
#endif
}
int readSerialReal ( ) { #if enableSerial return Serial . read ( ) ; #else return -1 ; #endif }
read a byte from serial
always returns -1 if serial is not enabled
Call this as readSerial()!
read a byte from serial always returns - 1 if serial is not enabled Call this as readSerial () !
// serial enabled // serial not enabled