MR-Addict / Pi-Pico-SSD1306-C-Library

GNU General Public License v3.0
6 stars 5 forks source link

How to #1

Closed antoine3000 closed 1 year ago

antoine3000 commented 2 years ago

Hello ! Thank you for your library, it seems to be what I was looking for with my project. I would like to use it within a Platformio project structure but I don't know how to do it. I'm not familiar with C++ architecture. How do you use it? Thanks!

MR-Addict commented 2 years ago

Hi there!

Pi Pico C++ coding is similar to C coding.

If you want to use this library, you just need to clone this repository, and the final file structure should be like below:

You should put your build file into build folder after you cmake yourself.

The main programme is OLEDDISPLAY.cpp, sorry for this strange file name.

And you may need to modify some changes in CMakeLists.txt file.

You can contact me if you come across other problems.

Have a nice day!

MR-Addict commented 2 years ago

I'm sorry for not understanding your issue well.

I'm not using Platformio, and don't know what's framework you use on Platformio, so I suggest you google it.

As I know Platformio also use cpp for programming, thus you can copy or modify my library in src/lib/OLED folder.

Apologize sincerely!