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.
main.cpp
00001 #include "mbed.h" 00002 #include <string> 00003 #include "N5110.h" 00004 00005 00006 00007 Serial pc(USBTX, USBRX); 00008 string buffer; 00009 N5110 lcd(dp4,dp24,dp23,dp25,dp2,dp6,dp18); 00010 int trenX(0); 00011 int trenY(0); 00012 00013 00014 00015 void citajPisi() 00016 { 00017 char charovi[1] = {0}; 00018 charovi [0] = pc.getc(); 00019 lcd.printString(charovi, trenX, trenY); 00020 trenX += 5; 00021 //trenY++; 00022 } 00023 00024 int main() 00025 { 00026 lcd.init(); 00027 while(1) 00028 { 00029 citajPisi(); 00030 } 00031 }
Generated on Fri Jul 15 2022 04:53:46 by
1.7.2