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
  • The SSD1306 neither knows nor cares what microcontroller you use.

    The only bit of the code which should be target-specific is the low-level SPI stuff - above that, everything should be target-independent.

    so you should be able to take out the nRF52-specific SPI stuff, and replace it with SPI stuff for your nRF51 - or any other microcontroller.

Reply
  • The SSD1306 neither knows nor cares what microcontroller you use.

    The only bit of the code which should be target-specific is the low-level SPI stuff - above that, everything should be target-independent.

    so you should be able to take out the nRF52-specific SPI stuff, and replace it with SPI stuff for your nRF51 - or any other microcontroller.

Children
Related