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
en:examples:display:lcd_alphanumeric [2010/04/13 06:13] raivo.sellen:examples:display:lcd_alphanumeric [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Alphanumeric LCD ====== ====== Alphanumeric LCD ======
  
-//Necessary knowledge: [HW] [[en:hardware:homelab:lcd]], [LIB] [[en:software:homelab:library:module:lcd_alphanumeric]], [LIB] [[en:software:homelab:library:delay]], [PRT] [[en:examples:timer:periodic_interrupt]]//+//Necessary knowledge: [LIB] [[en:software:homelab:library:module:lcd_alphanumeric]], [LIB] [[en:software:homelab:library:delay]], [PRT] [[en:examples:timer:periodic_interrupt]]//
  
 ===== Theory ===== ===== Theory =====
Line 19: Line 19:
 ===== Practice ===== ===== Practice =====
  
-HomeLabs Digital module connects a 2x16 symbol alphanumerical LCD WC 1602A. For controlling the screen, there is a 4-bit data-bus and 3 control pins, but its communication protocol is too capacious, to be explained here. For simplicity, the library of the HomeLab has corresponding functions for using the display. +HomeLabs Digital i/o module connects a 2x16 symbol alphanumerical LCD WC 1602A. For controlling the screen, there is a 4-bit data-bus and 3 control pins, but its communication protocol is too capacious, to be explained here. For simplicity, the library of the HomeLab has corresponding functions for using the display. 
  
 Before using the display it is vital to adjust its settings. For this purpose is the // lcd_alpha_init// function, which sets a blinking cursor on the screen. On screen is always only one active position for the cursor where next letter is entered, regardless whether it can be seen or not. So before entering the text, the cursor must be taken to the desired place. For changing the position of the cursor is a function lcd_alpha_goto_xy and for displaying it lcd_alpha_write_string. All the functions of the alphanumerical LCD are explained in its library. Before using the display it is vital to adjust its settings. For this purpose is the // lcd_alpha_init// function, which sets a blinking cursor on the screen. On screen is always only one active position for the cursor where next letter is entered, regardless whether it can be seen or not. So before entering the text, the cursor must be taken to the desired place. For changing the position of the cursor is a function lcd_alpha_goto_xy and for displaying it lcd_alpha_write_string. All the functions of the alphanumerical LCD are explained in its library.
Line 62: Line 62:
  seconds % 60);  seconds % 60);
  
- // Displaying the clock text in the beginning of the second row of the LCD.+ // Displaying the clock text in the LCD.
  lcd_alpha_goto_xy(0, 1);  lcd_alpha_goto_xy(0, 1);
  lcd_alpha_write_string(text);  lcd_alpha_write_string(text);
en/examples/display/lcd_alphanumeric.1271139213.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