I'd like to connect an analog sensor to port B5 to my electron.
In the datasheet, this seems possible:
B0 and B1 are digital only while B2, B3, B4, B5 are 12-bit A/D inputs as well as digital GPIOs. B0, B1, B2, B3 can also be used as PWM1 outputs.
In the reference documentation, this seems impossible:
analogRead() takes one argument pin: the number of the analog input pin to read from ('A0 to A7'.).
Does anyone have experience with this?