embedded systems project 5 code