Added function for sending data for testing the serial output