Closed gioreva closed 7 years ago
Compiling: \Arduino\libraries\PDQ_ST7735\examples\PDQ_graphicstest\PDQ_graphicstest.ino I receive this eror:
Arduino:1.7.10 (Windows 7), Scheda:"Arduino Uno"
In file included from PDQ_graphicstest.ino:25:0:
D:\Documents\Arduino\libraries\PDQ_ST7735/PDQ_ST7735.h: In static member function 'static void PDQ_ST7735::drawLine(int, int, int, int, uint16_t)':
D:\Documents\Arduino\libraries\PDQ_ST7735/PDQ_ST7735.h:854:14: error: 'swap' was not declared in this scope
swap(x0, y0);
^
D:\Documents\Arduino\libraries\PDQ_ST7735/PDQ_ST7735.h:860:14: error: 'swap' was not declared in this scope
swap(x0, x1);
Errore durante la compilazione
Questo report potrebbe essere più ricco di informazioni con "Mostra un output dettagliato durante la compilazione" abilitato in "File > Impostazioni"
I submitted a pull request to fix this, or you can use my branch: https://github.com/Yona-Appletree/PDQ_GFX_Libs
The fix for this should be merged now. Thanks,
Compiling: \Arduino\libraries\PDQ_ST7735\examples\PDQ_graphicstest\PDQ_graphicstest.ino I receive this eror:
Arduino:1.7.10 (Windows 7), Scheda:"Arduino Uno"
In file included from PDQ_graphicstest.ino:25:0:
D:\Documents\Arduino\libraries\PDQ_ST7735/PDQ_ST7735.h: In static member function 'static void PDQ_ST7735::drawLine(int, int, int, int, uint16_t)':
D:\Documents\Arduino\libraries\PDQ_ST7735/PDQ_ST7735.h:854:14: error: 'swap' was not declared in this scope
swap(x0, y0);
D:\Documents\Arduino\libraries\PDQ_ST7735/PDQ_ST7735.h:860:14: error: 'swap' was not declared in this scope
swap(x0, x1);
Errore durante la compilazione
Questo report potrebbe essere più ricco di informazioni con "Mostra un output dettagliato durante la compilazione" abilitato in "File > Impostazioni"