config.h 1019 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Configuration options
  2. #pragma once
  3. #define DEBUG
  4. // Use LEDs
  5. #define LED
  6. #ifdef LED
  7. //#define DECODELED
  8. // Light this when receive is pending
  9. #define RECEIVELED 2
  10. #define TRANSMITLED 3
  11. #endif // LED
  12. // LCD display with I2C connection.
  13. #define LCD
  14. // If LCD support desired, include appropriate hardware description
  15. #ifdef LCD
  16. #define LCD_0x27_16_2
  17. #endif
  18. #include <girs_hw_config.h>
  19. // Character that ends the command lines
  20. #define EOLCHAR '\n'
  21. #define ENDINGTIMEOUT 35L // milliseconds
  22. #define CAPTURESIZE 200U // must be even
  23. #define BEGINTIMEOUT 100UL // milliseconds
  24. // This quantity is added to all gaps and subtracted from all marks.
  25. #define IRRECEIVER_MARK_EXCESS 50
  26. // Parameters, (not really defaults, but actual values))
  27. #define SERIALBAUD 115200UL
  28. #define SERIALTIMEOUT 5000ULL
  29. #define RECV_NEC1_DEVICE 122
  30. #define RECV_NEC1_SUBDEVICE (255 - 122)
  31. #define RECV_VOLUME_UP_CMD 26
  32. #define RECV_VOLUME_DOWN_CMD 27
  33. #define SEND_DEVICE 0
  34. #define SEND_VOLUME_UP_CMD 16
  35. #define SEND_VOLUME_DOWN_CMD 17