Quantcast
Channel: Seeedstudio Forum
Viewing all articles
Browse latest Browse all 6612

EpdV230.rar not working on ATmega2560

$
0
0
Using http://www.seeedstudio.com/wiki/File:EpdV230.rar from http://www.seeedstudio.com/wiki/Small_e-Paper_Shield as my barcode is "V EG020BS011 006 4B5 0490"

Code: Arduino: 1.6.4 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from epdV230_text.ino:24:0:
Documents\AeroFS\Development\Arduino\libraries\epdV230/ePaper.h: In function 'void sd_read(long int, uint8_t*, uint8_t)':
Documents\AeroFS\Development\Arduino\libraries\epdV230/ePaper.h:141:6: error: 'class sd_epaper' has no member named 'getLine'
  eSD.getLine(line_address, (uint8_t *)data, byte_length);
      ^
Error compiling.


There's code in sd_epaper.h for getLine but it's all in define blocks, there's no getLine for my chip.

Code: /*********************************************************************************************************
** Function name:           getLine
** Descriptions:            getLine
*********************************************************************************************************/
#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega328P__)
unsigned char sd_epaper::getLine(long line_address, uint8_t *dta, uint8_t byte_length)
{
   //spi_on();
   new_image.seek(line_address);
   new_image.read(dta, byte_length);
}
#endif


Statistics : Posted by seeedstudio.com.alias • on Thu Jun 04, 2015 6:43 pm • Replies 1 • Views 14

Viewing all articles
Browse latest Browse all 6612

Trending Articles