TheWiggman
Haters' gonna hate
I can't see where I might have gone wrong here. See below is the dropdown of the libraries in Arduino -
I've included the error message from a compile as well as the extra_graphics.h tab selected to show you that it's there. Note that it's mostly greyed out though, I'm almost certain this is related.
Below are the folders in the directory linked as you said -
The only thing I might be missing is how you restart. The IDE is the Arduino software yes? And by restart do you mean close the program and reopen? I've rebooted/shut down the PC a number of times since trying to get this to work.
I removed the /* and */ etc. in the extra_graphics.h and now I'm getting errors in that:
I've included the error message from a compile as well as the extra_graphics.h tab selected to show you that it's there. Note that it's mostly greyed out though, I'm almost certain this is related.
Below are the folders in the directory linked as you said -
The only thing I might be missing is how you restart. The IDE is the Arduino software yes? And by restart do you mean close the program and reopen? I've rebooted/shut down the PC a number of times since trying to get this to work.
I removed the /* and */ etc. in the extra_graphics.h and now I'm getting errors in that:
Code:
Arduino: 1.6.13 (Windows 10), Board: "Arduino Nano, ATmega328"
E:\Leigh\Brewing\Arduino\ArduinoMashController-master\_20A_Kettle_Controller\_20A_Kettle_Controller.ino:45:34: warning: character constant too long for its type
char hlt_start_timestamp[17] = { 'now\0\0\0\0\0\0\0\0\0\0\0\0\0' };
^
In file included from E:\Leigh\Brewing\Arduino\ArduinoMashController-master\_20A_Kettle_Controller\_20A_Kettle_Controller.ino:29:0:
extra_graphics.h:32: error: redefinition of 'static void PDQ_GFX<HW>::draw16bitBitmap(coord_t, coord_t, int, int, short unsigned int*)'
void PDQ_GFX<HW>::draw16bitBitmap(coord_t corner_x, coord_t corner_y, int width, int height, unsigned short *pixel_data)
^
In file included from E:\Leigh\Brewing\Arduino\ArduinoMashController-master\_20A_Kettle_Controller\_20A_Kettle_Controller.ino:18:0:
C:\Users\the_w\Documents\Arduino\libraries\PDQ_GFX/PDQ_GFX.h:294:6: note: 'static void PDQ_GFX<HW>::draw16bitBitmap(coord_t, coord_t, int, int, short unsigned int*)' previously declared here
void PDQ_GFX<HW>::draw16bitBitmap(coord_t corner_x, coord_t corner_y, int width, int height, unsigned short *pixel_data)
^
In file included from E:\Leigh\Brewing\Arduino\ArduinoMashController-master\_20A_Kettle_Controller\_20A_Kettle_Controller.ino:29:0:
extra_graphics.h:49: error: redefinition of 'static void PDQ_GFX<HW>::drawFourEllipsePixels(coord_t, coord_t, int, int, color_t)'
void PDQ_GFX<HW>::drawFourEllipsePixels(coord_t x_centre, coord_t y_centre, int x, int y, color_t colour)
^
In file included from E:\Leigh\Brewing\Arduino\ArduinoMashController-master\_20A_Kettle_Controller\_20A_Kettle_Controller.ino:18:0:
C:\Users\the_w\Documents\Arduino\libraries\PDQ_GFX/PDQ_GFX.h:310:6: note: 'static void PDQ_GFX<HW>::drawFourEllipsePixels(coord_t, coord_t, int, int, color_t)' previously declared here
void PDQ_GFX<HW>::drawFourEllipsePixels(coord_t x_centre, coord_t y_centre, int x, int y, color_t colour)
^
In file included from E:\Leigh\Brewing\Arduino\ArduinoMashController-master\_20A_Kettle_Controller\_20A_Kettle_Controller.ino:29:0:
extra_graphics.h:59: error: redefinition of 'static void PDQ_GFX<HW>::drawEllipse(coord_t, coord_t, coord_t, coord_t, color_t)'
void PDQ_GFX<HW>::drawEllipse(coord_t x_centre, coord_t y_centre, coord_t width, coord_t height, color_t colour)
^
In file included from E:\Leigh\Brewing\Arduino\ArduinoMashController-master\_20A_Kettle_Controller\_20A_Kettle_Controller.ino:18:0:
C:\Users\the_w\Documents\Arduino\libraries\PDQ_GFX/PDQ_GFX.h:319:6: note: 'static void PDQ_GFX<HW>::drawEllipse(coord_t, coord_t, coord_t, coord_t, color_t)' previously declared here
void PDQ_GFX<HW>::drawEllipse(coord_t x_centre, coord_t y_centre, coord_t width, coord_t height, color_t colour)
^
exit status 1
redefinition of 'static void PDQ_GFX<HW>::draw16bitBitmap(coord_t, coord_t, int, int, short unsigned int*)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.