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

SSD1306 example for NRF51822

Any SSD1306 example for nrf51822 ??? 

I found this but is for nrf52.. i try to add it for my nrf51822 but there are tons of functions with different declarations in my sdk...

Thanks a lot 

Parents Reply Children
  • Yes I saw them. But i dont find any example of how to use the Adafruit SSD1306 library. 

    I am using in my main this: (IS IT CORRECT???) 


    ssd1306_init_i2c(12,30); //scl 12, sda 30
    ssd1306_begin(1,0x3C,0);//External VCC, i2caddr, reset  <---- IS THIS CORRECT ???


    ssd1306_invert_display(1);
    nrf_delay_ms(250);
    ssd1306_invert_display(0);
    nrf_delay_ms(250);
    ssd1306_invert_display(1);
    nrf_delay_ms(250);
    ssd1306_invert_display(0);
    nrf_delay_ms(250);

    To see if something happens.. but nothing... i see the sda and scl buses mooving but nothing in the screen...


    Also this example is like if it does not wait for the ack event... 

Related