Changed the exmaple to work with sparkcore and added monitoring over serial connection