Insert GitHub library and your own images

How can i add this lib to my project?

… and how do I integrate my own image file?

// 'Pumpe1', 30x30px
const unsigned char gImage_Pumpe1 [] PROGMEM = {
	0xff, 0xff, 0xff, 0xfc, 0xff, 0xe0, 0x0f, 0xfc, 0xff, 0x8f, 0xe3, 0xfc, 0xfe, 0x3f, 0xf8, 0xfc, 
	0xfc, 0x7f, 0xfe, 0x7c, 0xf9, 0x1f, 0xff, 0x3c, 0xf3, 0x07, 0xff, 0x9c, 0xe7, 0x01, 0xff, 0xcc, 
	0xef, 0x00, 0x7f, 0xec, 0xcf, 0x00, 0x1f, 0xe4, 0xdf, 0x00, 0x07, 0xf4, 0x9f, 0x00, 0x01, 0xf0, 
	0xbf, 0x00, 0x00, 0x78, 0xbf, 0x00, 0x00, 0x18, 0xbf, 0x00, 0x00, 0x00, 0xbf, 0x00, 0x00, 0x00, 
	0xbf, 0x00, 0x00, 0x00, 0xbf, 0x00, 0x00, 0x18, 0xbf, 0x00, 0x00, 0x78, 0x9f, 0x00, 0x01, 0xf0, 
	0xdf, 0x00, 0x07, 0xf4, 0xcf, 0x00, 0x1f, 0xe4, 0xef, 0x00, 0x7f, 0xec, 0xe7, 0x01, 0xff, 0xcc, 
	0xf3, 0x07, 0xff, 0x9c, 0xf9, 0x1f, 0xff, 0x3c, 0xfc, 0x7f, 0xfe, 0x7c, 0xfe, 0x3f, 0xf8, 0xfc, 
	0xff, 0x8f, 0xe3, 0xfc, 0xff, 0xe0, 0x0f, 0xfc
};

I wrote the github link in the platformio.ini, but I get an error message:

Resolving esp32dev dependencies…

Library Manager: Installing git+https://github.com/brunocalou/Timer.git

Error: Please install Git client from Git - Downloads

Apply lib_deps documentation.

Use image2cpp

Absolutely right. When you reference a Git link you need to have Git installed. The alternative is to reference the zip download link the “Code → Download” button gives you.

I meant: How do I get an image file gImage_Pumpe1.h into my program? When I put it in the include folder, the compiler doesn’t recognize them.

If you have gImage_Pumpe1.h in the include/ folder of the project, #include <gImage_Pumpe1.h> should work. …But you didn’t really name the header file the same as the array that’s created inside of it, yes?

After a restart it suddenly worked.:+1: