Dev 5 0 measurement mode13

Fix for the measurement_mode13 example provided by David Lleres.

cc @melissalinkert @hinerm