repaper / gratis

EPD Source codes and Documentation
238 stars 132 forks source link

#include <{% DRIVER:header %}> #27

Open qhn0511 opened 9 years ago

qhn0511 commented 9 years ago

Need help in figuring out what the error message below means which is generated from Arduino Sketch after the following two lines of code.

       #include <{% DRIVER:header %}>
       #define SCREEN_SIZE {% PANEL:size %}

"demo.ino:47:31: fatal error: {% DRIVER:header %}: No such file or directory compilation terminated."

hxw commented 9 years ago

The sample files have been changed to templates, and after any changes I run s script that generates examples for each supported display size and panel driver chip.

Don't try to load these files directly instead go to the library and choose from the example menu and you will see all the correct files listed: The menu sequence for this is:

File → Examples →EPD_Vxxx_Gy →demo_sss

xxx = panel version: 110, 230 or 231
y   = Chip number: 1 or 2
sss = panelsize: 144, 200 or 270

( if the EPD_... entries are not present make sure settings sketchbook location is correct then restart Arduino IDE )

Hope that helps

qhn0511 commented 9 years ago

Thank You!

It all make sense now.

Quan Nguyen

-----Original Message----- From: Christopher Hall notifications@github.com To: repaper/gratis gratis@noreply.github.com Cc: qhn0511 qhn0511@aol.com Sent: Wed, Jul 22, 2015 7:28 pm Subject: Re: [gratis] #include <{% DRIVER:header %}> (#27)

The sample files have been changed to templates, and after any changes I run s script that generates examples for each supported display size and panel driver chip.

Don't try to load these fiels directly instead goto to the library and choose from the example menu and you will see all the correct files listed: The menu sequence for this is:

File → Examples →EPD_Vxxx_Gy →demo_sss

xxx = panel version: 110, 230 or 231 y = Chip number: 1 or 2 sss = panelsize: 144, 200 or 270

( if the EPD_... entries are not present make sure settings sjketchbook location is correct then restart Arduino IDE )

Hope that helps

— Reply to this email directly or view it on GitHub.