Changed serial pin_mode with brackets and for all targets