I am receiving humidity and temperature information from an xbee and then printing the results on the serial monitor via the console. When I use Console.println , the information prints to the serial monitor. However, when I use Console.print nothing is printed. I have seen Console.print used in other sketches, so I'm not sure why it isn't working. The baud rate in the serial monitor is 300. I'm also using the AltSoftSerial library to communicate with the xbee (which is apparently working since I receive the correct data, just can't print it out using Console.print)
Has anyone else had this issue? Any insight is appreciated?
This code prints to the serial monitor:
//print humidity and temperature results
Console.println("Humidity:");
Console.println(humidity.humidity_reading);
Console.println(" %\t");
Console.println("Temperature:");
Console.println(temperature.temp_reading);
Console.println(" F");
This code DOES NOT print to the serial monitor:
//print humidity and temperature results
Console.print("Humidity:");
Console.print(humidity.humidity_reading);
Console.print(" %\t");
Console.print("Temperature:");
Console.print(temperature.temp_reading);
Console.print(" F");
Thanks
Brian