finished MATTparser for LED detection tests