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

IMPORTING GITHUB PROJECT (SSD1306)

Hi all. 

I am using Keil for programming a nrf51822 & SDK 12.3 

I want to use the SSD1306 OLED Drivers in my project 

I follow these steps: 

1) I copy .c and .h files form github to  ~\SDK\nRF5_SDK_12.3.0_d7731ad\components\drivers_nrf\OLED
2) My project is here:  ~\SDK\nRF5_SDK_12.3.0_d7731ad\examples\peripheral\project) 

3) In KEIL I import those . c and .h files to nRF_Drivers folder
4) I compile the project and everything is ok 

Here is the problem: 

* when i try to add #include"SSD1306.h" my compiler says : "file not found"


WHAT AM I DOING WRONG??

I always use an example project and from tehre i use to modyfy the code.. but i have never add new drivers to an existing project... 


Thanks a lot 

Parents Reply
  • "SSD1306.h" library

    It's not a library - it's just a header file.

    the program launch the warning "implicit declaration..." what that means? 

    It means that you haven't provided any explicit declaration;  so the compiler is just assuming  a default - or "implicit" declaration.

    Note that this is standard C programming stuff - nothing specifically to do with Keil or Nordic.

    Presumably, the declarations should be in the  "SSD1306.h" header file ?

Children
No Data
Related