Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MIP8F_SPI_Ver40 mbed
Dependents: MIP8f_FRDM_TransferMode_sample MIP8f_FRDM_Animation_sample
Revision 5:069467469900, committed 2018-10-24
- Comitter:
- JDI_Mbed_Team
- Date:
- Wed Oct 24 02:23:42 2018 +0000
- Parent:
- 4:96294c83e58f
- Child:
- 6:2646a55a0233
- Commit message:
- for video;
Changed in this revision
| MIP8F_SPI.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MIP8F_SPI.lib Mon Oct 22 05:01:34 2018 +0000 +++ b/MIP8F_SPI.lib Wed Oct 24 02:23:42 2018 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/teams/JapanDisplayInc/code/MIP8F_SPI/#b2d46804658c +https://os.mbed.com/teams/JapanDisplayInc/code/MIP8F_SPI/#2b85e7edcc4e
--- a/main.cpp Mon Oct 22 05:01:34 2018 +0000
+++ b/main.cpp Wed Oct 24 02:23:42 2018 +0000
@@ -132,26 +132,30 @@
swPWMorOFF.IfCntState(ON);
COM60HZ.period_ms(8); //add 20161108
- COM60HZ.write(0.5); //add 20161108
+ COM60HZ.write(0.5); //add 20161108
BK.period_ms(1); //1ms cycle 20161012
BK.write(0); //low output 20160725 <- high output
- while(1)
+ while(1)
{ //BITMAPS
filenum = CntFile(filepath); //file number read
- for(uint32_t i=0; i<filenum; i++)
- {
- ReadBmp(filepath,i);
- while(HaltSW.State()) { // VCOM invert when image is still
- // pol++;
- // WD.command( (pol << 6) & 0x40 );
- // wait(bk_timer); //1Hz
- }
- HaltSW.Clear();
- //1bit trasfer mode = monochro diplay
- WD.writeDISP(TrBIT1);
- wait(2);
+ for( int j = 0; j < 2; j++)
+ {
+ ReadBmp(filepath,i);
+ while(HaltSW.State()) { // VCOM invert when image is still
+ // pol++;
+ // WD.command( (pol << 6) & 0x40 );
+ // wait(bk_timer); //1Hz
+ }
+ HaltSW.Clear();
+ //1bit trasfer mode = monochro diplay
+ if( j%2 == 0 )
+ WD.writeDISP(TrBIT4);
+ else
+ WD.writeDISP(TrBIT1);
+ wait(2);
+ }
}
}
}