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: N5110SPI SWSPI mbed
Fork of Nokia_FRDM by
Revision 2:4227ed52b378, committed 2016-05-25
- Comitter:
- esokic
- Date:
- Wed May 25 07:59:36 2016 +0000
- Parent:
- 1:a174ab8a7339
- Child:
- 3:7b09c23e080f
- Commit message:
- Popravljena nokia FRDM
Changed in this revision
| N5110.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/N5110.lib Fri May 20 23:25:54 2016 +0000 +++ b/N5110.lib Wed May 25 07:59:36 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/esokic/code/N5110/#9efee30ed6d3 +http://mbed.org/users/eencae/code/N5110/#b627f726b323
--- a/main.cpp Fri May 20 23:25:54 2016 +0000
+++ b/main.cpp Wed May 25 07:59:36 2016 +0000
@@ -1,9 +1,11 @@
#include "mbed.h"
#include "N5110.h"
+#include "SWSPI.h"
//Deklaracija LCD objekta
//N5110 lcd(VCC,SCE,RST,D/C,MOSI,SCLK,LED)
+//(bilo koji pin se moze koristiti osim PTC0 i LED pin mora biti PTE20)
N5110 lcd(PTB8,PTA13,PTA12,PTD5,PTD2,PTC5,PTE20);
int main()
@@ -20,6 +22,7 @@
lcd.printString("Mi ipak vise",0,0);
lcd.printString("volimo US!",0,1);
while(1) {
+ //lcd.drawCircle(10,10,5,1);
}
}
\ No newline at end of file
