I’m using a RAK5005-0 base and a RAK4631 core.
The RAK5005-0 has a series of headers (J10, J11, J12), J11 exposes two IO pins PIN 2 = IO1 PIN3 = IO2. The table here shows that IO1 and IO2 correspond to PINs 29 and 30 respectively.
In the program we set
pinMode(29, OUTPUT);
pinMode(30, OUTPUT);
LEDs (including resistors) are wired up to the respective pins; PIN29/J11-2/IO1 works as expected, however PIN30/J11-3/IO2 does not, rather this LED is constantly on no matter the call to
digitalWrite(30, LOW);
I notice in the documentation poitned to above that a note against J11-30 states
- IO2
- Used for 3V3_S enable
Does this mean that we actually have only one IO pin available?
Sorry for the confusion but those pin numbers are for the connector pin# and not for the mapping.
Then different WisBlock Core have different pin assignments at low level that is why there is a WB_xxxx format to control the IO and peripheral of WisBlock (WB = WisBlock).