Capacitive fill level sensor CortexM0