5 Replies Latest reply on Sep 12, 2016 1:07 PM by Intel Corporation

    MRAA pin mapping for Galileo Gen 2

    caiocsgomes

      Could anyone explain me how the pin mapping in the MRAA API for Galileo Gen 2 works? The only explanation I've got so far is " AIO pins are treated as 0-5 in mraa_aio_init() but as 14-19 for everything else. Therefore use mraa_gpio_init(14) to use A0 as a Gpio", but that doesn't explain to much about how the mapping for the peripherals work. If I want to use a specific pin for a specific function for example, as PWM or ADC or digital input, how would that work? I found a nice table for the Edison at this link mraa/edison.md at master · intel-iot-devkit/mraa · GitHub , but I didn't find for the Galileo.