Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

38 linhas
1.5 KiB

  1. /*
  2. * lcd.h:
  3. * Text-based LCD driver.
  4. * This is designed to drive the parallel interface LCD drivers
  5. * based in the Hitachi HD44780U controller and compatables.
  6. *
  7. * Copyright (c) 2012 Gordon Henderson.
  8. ***********************************************************************
  9. * This file is part of wiringPi:
  10. * https://projects.drogon.net/raspberry-pi/wiringpi/
  11. *
  12. * wiringPi is free software: you can redistribute it and/or modify
  13. * it under the terms of the GNU Lesser General Public License as published by
  14. * the Free Software Foundation, either version 3 of the License, or
  15. * (at your option) any later version.
  16. *
  17. * wiringPi is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU Lesser General Public License for more details.
  21. *
  22. * You should have received a copy of the GNU Lesser General Public License
  23. * along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
  24. ***********************************************************************
  25. */
  26. #define MAX_LCDS 8
  27. extern void lcdHome (int fd) ;
  28. extern void lcdClear (int fd) ;
  29. extern void lcdPosition (int fd, int x, int y) ;
  30. extern void lcdPutchar (int fd, uint8_t data) ;
  31. extern void lcdPuts (int fd, char *string) ;
  32. extern void lcdPrintf (int fd, char *message, ...) ;
  33. extern int lcdInit (int rows, int cols, int bits, int rs, int strb,
  34. int d0, int d1, int d2, int d3, int d4, int d5, int d6, int d7) ;