Datasheet

pin that is set as an output:
Pin numbers
Pin state, where:
0 = clear the pin (logic low/GND)
1 = set the pin (logic high/VCC)
INPUT MODE: To read the current state of an input pin or a pin that has been configured as
an output, enter the pin number as a single parameter.
Output: The pin state if you are reading an input or checking the state of an input pin
(meaning only 1 parameter is supplied, the pin number), where:
0 means the pin is logic low/GND
1 means the pin is logic high/VCC
Trying to set the value of a pin that has not been configured as an output will
produce an 'ERROR' response.
Some pins are reserved for specific functions on Bluefruit modules and can not be
used as GPIO. If you try to make use of a reserved pin number an 'ERROR'
response will be generated.
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 127 of 238