Emir Sokic
/
US2016_LV3_Z1
Testni program za Nokia Displej za US 2016
Revision 0:6ebfd28a8b0c, committed 2016-03-09
- Comitter:
- esokic
- Date:
- Wed Mar 09 08:30:01 2016 +0000
- Commit message:
- Testni program za LV3 iz US 2016
Changed in this revision
diff -r 000000000000 -r 6ebfd28a8b0c N5110.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/N5110.lib Wed Mar 09 08:30:01 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/eencae/code/N5110/#ba8addc061ea
diff -r 000000000000 -r 6ebfd28a8b0c main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Mar 09 08:30:01 2016 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" +#include "N5110.h" +#define dp23 P0_0 + +//N5110 lcd(VCC,SCE,RST,DC,MOSI,SCLK,LED)); +N5110 lcd(dp4,dp24,dp23,dp25,dp2,dp6,dp18); + +DigitalOut enable(dp14); + +int main() { + + //deaktivacija led dioda + enable=1; + + //inicijalizacija displeja + lcd.init(); + + //prikaz stringa + lcd.printString("Mi volimo US!",0,0); + + while(1); +}
diff -r 000000000000 -r 6ebfd28a8b0c mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Mar 09 08:30:01 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb \ No newline at end of file