So im thinking of buying a sodaq one but cant find any information of how to use for example a ultrasonic sensor with the board. For the mbili it’s clear defined how you define the I/O ports for input or output.
How you define the I/O pins is the same for the mbili and for the one.
The good thing about the sodaq one is that you can use all I/O for Analog or Digital.
Some of our boards have the same components like the RGB LED.
You can use:
pinMode(14, OUTPUT);
or
pinMode(LED_RED, OUTPUT);
Both will do the same, I recomment to use the pin name.
If you want to use the same code on an sodaq explorer LED_RED is also there, just not on pin 14.
I think i might have the answer myself about ultrasonic sensor as i need both echo and signal for the ultrasonicsensor, so one pin for trigger (OUTPUT) and one pin for echo (INPUT).