Post It
Dependencies: LM75B
Fork of EM027BS013 by
Revision 1:3700ccf919d8, committed 2014-12-09
- Comitter:
- ShalajLawania
- Date:
- Tue Dec 09 10:26:31 2014 +0000
- Parent:
- 0:9297e33f50cf
- Commit message:
- Post It
Changed in this revision
EM027BS013.cpp | Show annotated file Show diff for this revision Revisions of this file |
EPD_COG_process_v230_G2.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/EM027BS013.cpp Tue Jul 22 11:59:06 2014 +0000 +++ b/EM027BS013.cpp Tue Dec 09 10:26:31 2014 +0000 @@ -85,7 +85,7 @@ void EM027BS013::drawImage(uint8_t * image) { - init(); + //init(); EPD_display_from_pointer(EPD_270, NULL, image); }
--- a/EPD_COG_process_v230_G2.cpp Tue Jul 22 11:59:06 2014 +0000 +++ b/EPD_COG_process_v230_G2.cpp Tue Dec 09 10:26:31 2014 +0000 @@ -218,7 +218,7 @@ action__Waveform_param=(struct EPD_WaveformTable_Struct *)&E_Waveform[EPD_type_index][1]; }else if (10 >= temperature && temperature > 0){ action__Waveform_param=(struct EPD_WaveformTable_Struct *)&E_Waveform[EPD_type_index][2]; - }else action__Waveform_param=(struct EPD_WaveformTable_Struct *)&E_Waveform[EPD_type_index][1]; //Default + }else action__Waveform_param=(struct EPD_WaveformTable_Struct *)&E_Waveform[EPD_type_index][0]; //Default } /** @@ -270,11 +270,11 @@ EPD_cs_high(); EPD_border_high(); EPD_rst_high(); - delay_ms(5); + //delay_ms(1); EPD_rst_low(); - delay_ms(5); + //delay_ms(1); EPD_rst_high(); - delay_ms(5); + //delay_ms(1); } @@ -799,10 +799,10 @@ dummy_line(EPD_type_index); } - delay_ms (25); + //delay_ms (25); if(EPD_type_index==EPD_270) { EPD_border_low(); - delay_ms (200); + //delay_ms (200); EPD_border_high(); } @@ -823,7 +823,7 @@ epd_spi_send_byte (0x07, 0x0D); epd_spi_send_byte (0x04, 0x83); - delay_ms(120); + delay_ms(80); epd_spi_send_byte (0x04, 0x00); epd_spi_detach (); @@ -831,14 +831,14 @@ EPD_rst_low(); EPD_Vcc_turn_off (); EPD_border_low(); - delay_ms (10); + //delay_ms (10); for(y=0;y<10;y++) { EPD_discharge_high (); - delay_ms (10); + //delay_ms (10); EPD_discharge_low (); - delay_ms (10); + //delay_ms (10); } return RES_OK; }