Guest User

Untitled

a guest
Jan 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <string.h>
  2. #include "GLCD.h"
  3. #include "config.h"
  4.  
  5.  
  6.  
  7. void escribir(char nombre[]){
  8.  
  9. int i = 1;
  10. while(nombre[i] != '\0'){
  11. putch(0,i,nombre[i]);
  12. ++i;
  13. }
  14. putch(0,i,' ');
  15.  
  16. }
  17.  
  18.  
  19. void main() {
  20. GLCDinit();
  21. clearGLCD(0,7,0,127);
  22. char nombre[] = "CRISTIAN";
  23.  
  24. escribir(nombre);
  25.  
  26.  
  27. while(1);
  28. }
Add Comment
Please, Sign In to add comment