added messages
tidied up USB code, removed discovery pin references