config.conf.m4 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. dnl The following line enables macro expansion in # comments
  2. changecom(`//')
  3. # These options do not have default value and MUST be set before running
  4. # LCD pins (the ones below match up with the diagram in README.md)
  5. # Register select
  6. rs_pin = 4
  7. # Read-write
  8. rw_pin = 17
  9. # Enable
  10. en_pin = 27
  11. # Optional backlight pin, set to -1 to disable
  12. bl_pin = 26
  13. # d0-d7
  14. data_pins = 22 10 9 11 5 6 13 19
  15. # Button pins
  16. sel_pin = 14
  17. back_pin = 15
  18. up_pin = 18
  19. down_pin = 23
  20. # Options below this comment have compile-time defaults (which are show below)
  21. # GPIO device file
  22. #gpio_file = DEFAULT_GPIO_DEVICE
  23. # sysctl(8) keys for the temperature sensor
  24. #temp_key = DEFAULT_TEMP_KEY
  25. #humid_key = DEFAULT_HUMID_KEY
  26. # Set to empty to disable
  27. #fail_key = DEFAULT_FAIL_KEY
  28. # Number of temperature sensor fails before exit
  29. #fail_limit = DEFAULT_FAIL_LIMIT
  30. # Database location
  31. #database_location = DEFAULT_DATABASE_LOCATION
  32. # Time between data points, note that this is probably limited by the kernel's
  33. # gpioths driver (5 seconds)
  34. #refresh_time = DEFAULT_REFRESH_TIME
  35. # Temperature unit F for Fahrenheit, C for Celsius
  36. #temp_unit = DEFAULT_TEMP_UNIT
  37. # The base name for export, .sqlite3 will be appended for SQLite exports and
  38. # .csv will be appended for CSV exports
  39. #export_file_name = DEFAULT_EXPORT_FILE_NAME
  40. # The timezone used. This is overridden by the environment variable TZ. See the
  41. # tzset(3) manual page for more information about the format of this. Leave
  42. # blank for system default
  43. #timezone = DEFAULT_TIMEZONE