Não pode escolher mais do que 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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30. extern void lcdHome (const int fd) ;
  31. extern void lcdClear (const int fd) ;
  32. extern void lcdDisplay (const int fd, int state) ;
  33. extern void lcdCursor (const int fd, int state) ;
  34. extern void lcdCursorBlink (const int fd, int state) ;
  35. extern void lcdSendCommand (const int fd, unsigned char command) ;
  36. extern void lcdPosition (const int fd, int x, int y) ;
  37. extern void lcdCharDef (const int fd, int index, unsigned char data [8]) ;
  38. extern void lcdPutchar (const int fd, unsigned char data) ;
  39. extern void lcdPuts (const int fd, const char *string) ;
  40. extern void lcdPrintf (const int fd, const char *message, ...) ;
  41. extern int lcdInit (const int rows, const int cols, const int bits,
  42. const int rs, const int strb,
  43. const int d0, const int d1, const int d2, const int d3, const int d4,
  44. const int d5, const int d6, const int d7) ;
  45. #ifdef __cplusplus
  46. }
  47. #endif