Fix analog pin sample_request() with event argument. Default is null event.