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.
Fork of US2016_LV3_Z1 by
Diff: main.cpp
- Revision:
- 0:6ebfd28a8b0c
- Child:
- 1:8ddf3a73e99e
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); +}