This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Locate defined pins in a proyect

Hello mates, Im trying to run this proyect:

nrf52-spi-i2c-master-ssd1306 ( github.com/.../nrf52-spi-i2c-master-ssd1306 )

I have the display and that kit development, but I cant run the proyect cause i dont know how is the wired, where can i find the defined pins of my kit with that project?

Thanks and sorry, im newbie in this matter.

Parents
  • Hi Sigurd,  Our VDD ping is connect to VCC_3.3 and cannot be controlled. What should I do to nrf_gpio_cfg of VDD PIN?

    If I remove it , the screen cant light on.

    The following is the sample code.

    nrf_gpio_cfg(
    SSD1306_CONFIG_VDD_PIN,
    NRF_GPIO_PIN_DIR_OUTPUT,
    NRF_GPIO_PIN_INPUT_DISCONNECT,
    NRF_GPIO_PIN_NOPULL,
    NRF_GPIO_PIN_H0S1,
    NRF_GPIO_PIN_NOSENSE);

    nrf_gpio_pin_set(SSD1306_CONFIG_VDD_PIN);

    //ssd1306_init_i2c(SSD1306_CONFIG_SCL_PIN, SSD1306_CONFIG_SDA_PIN);
    //ssd1306_begin(SSD1306_SWITCHCAPVCC, SSD1306_I2C_ADDRESS, false);

Reply
  • Hi Sigurd,  Our VDD ping is connect to VCC_3.3 and cannot be controlled. What should I do to nrf_gpio_cfg of VDD PIN?

    If I remove it , the screen cant light on.

    The following is the sample code.

    nrf_gpio_cfg(
    SSD1306_CONFIG_VDD_PIN,
    NRF_GPIO_PIN_DIR_OUTPUT,
    NRF_GPIO_PIN_INPUT_DISCONNECT,
    NRF_GPIO_PIN_NOPULL,
    NRF_GPIO_PIN_H0S1,
    NRF_GPIO_PIN_NOSENSE);

    nrf_gpio_pin_set(SSD1306_CONFIG_VDD_PIN);

    //ssd1306_init_i2c(SSD1306_CONFIG_SCL_PIN, SSD1306_CONFIG_SDA_PIN);
    //ssd1306_begin(SSD1306_SWITCHCAPVCC, SSD1306_I2C_ADDRESS, false);

Children
Related