Guest User

Untitled

a guest
Nov 24th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int anz=-1;
  2.  
  3. char putchar(char chc)
  4. {
  5.     const char lines[LINE_ANZ] = {LCD_ADDR_LINE1, LCD_ADDR_LINE2, LCD_ADDR_LINE3, LCD_ADDR_LINE4};
  6.     anz++;
  7.  
  8.     if(chc = '\n')
  9.     {
  10.        
  11.     }  
  12.    
  13.     if(chc == '\t')
  14.     {
  15.        Cursor_GoToXY();
  16.     }
  17.  
  18.     if(chc == '\b')
  19.     {
  20.        
  21.     }
  22.    
  23.  
  24.     LCD_WriteDR(chc);
  25.     return (chc);
  26. }
Advertisement
Add Comment
Please, Sign In to add comment