tango
New Member
Posts: 6
|
Post by tango on Jun 1, 2021 15:30:15 GMT -8
Hi, I was working with the Gameduino2 v1.2 and the Esp32, trying to use image loading (SD storage), but didn't work...
Only appears the logo of the fdti chip...
Then I try to update the Gameduino2 library, becouse i notice the 1.3.3 version in the excamera page.
But, now I can't compile it...
It appears the follow errors:
"
In file included from C:\Users\hp\Documents\Arduino\libraries\Gameduino2\GD2.cpp:40:0:
C:\Users\hp\Documents\Arduino\libraries\Gameduino2\transports/wiring.h: In member function 'void GDTransport::daz_rd(uint8_t*, size_t)':
C:\Users\hp\Documents\Arduino\libraries\Gameduino2\transports/wiring.h:432:29: error: invalid conversion from 'char*' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
SPI.transfer((char*)s, n);
^
In file included from C:\Users\hp\Documents\Arduino\libraries\Gameduino2\GD2.cpp:10:0:
C:\Users\hp\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SPI\src/SPI.h:70:10: note: initializing argument 1 of 'void SPIClass::transfer(uint8_t*, uint32_t)'
void transfer(uint8_t * data, uint32_t size);
^
exit status 1
Error compilando para la tarjeta ESP32 Dev Module.
"
Can someone help me?
Thanks
|
|