Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
et:examples:display:lcd [2015/02/26 12:23] raivo.sellet:examples:display:lcd [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~PB~~+<pagebreak>
 ====== Ekraan ====== ====== Ekraan ======
  
 //Vajalikud teadmised:  //Vajalikud teadmised: 
 [HW] [[et:hardware:homelab:digi]],  [HW] [[et:hardware:homelab:digi]], 
-[LIB] [[et:software:homelab:library:module:lcd_alphanumeric]], [LIB] [[et:software:homelab:library:module:lcd_graphic]], \\[LIB] [[et:software:homelab:library:delay]]//+[LIB] [[et:software:homelab:library:module:lcd_alphanumeric]], [LIB] [[et:software:homelab:library:module:lcd_graphic]], \\ 
 +[LIB] [[et:software:homelab:library:delay]]//
  
 ===== Teooria ===== ===== Teooria =====
Line 34: Line 35:
  
 <code c> <code c>
-// Kodulabori graafilise LCD kasutamise näide.+// Kodulabori graafilise LCD kasutamise näide
 #include <stdio.h> #include <stdio.h>
 #include <homelab/module/lcd_gfx.h> #include <homelab/module/lcd_gfx.h>
Line 56: Line 57:
  
   // Lõputu tsükkel    // Lõputu tsükkel
-  while (true)  {+  while (1)  {
    // Sekundite teisendamine kellaaja kujule hh:mm:ss    // Sekundite teisendamine kellaaja kujule hh:mm:ss
    sprintf(text, "%02d:%02d:%02d",     sprintf(text, "%02d:%02d:%02d", 
et/examples/display/lcd.1424953419.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0