AVR driver for a group of 7-seg displays (with 70hc4094), controlled by UART.

7seg_mux_drv.pro 973B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. TEMPLATE = app
  2. CONFIG += console
  3. CONFIG -= app_bundle
  4. CONFIG -= qt
  5. INCLUDEPATH += \
  6. lib \
  7. /usr/avr/include
  8. DEFINES += __AVR_ATmega328P__ F_CPU=16000000UL
  9. DISTFILES += \
  10. style.astylerc \
  11. Makefile
  12. HEADERS += \
  13. lib/adc.h \
  14. lib/blockdev.h \
  15. lib/calc.h \
  16. lib/color.h \
  17. lib/debounce.h \
  18. lib/dht11.h \
  19. lib/fat16.h \
  20. lib/fat16_internal.h \
  21. lib/iopins.h \
  22. lib/lcd.h \
  23. lib/nsdelay.h \
  24. lib/onewire.h \
  25. lib/sd.h \
  26. lib/sd_blockdev.h \
  27. lib/sd_fat.h \
  28. lib/sipo_pwm.h \
  29. lib/sonar.h \
  30. lib/spi.h \
  31. lib/stream.h \
  32. lib/uart.h \
  33. lib/wsrgb.h
  34. SOURCES += \
  35. lib/adc.c \
  36. lib/color.c \
  37. lib/debounce.c \
  38. lib/dht11.c \
  39. lib/fat16.c \
  40. lib/iopins.c \
  41. lib/lcd.c \
  42. lib/onewire.c \
  43. lib/sd.c \
  44. lib/sd_blockdev.c \
  45. lib/sd_fat.c \
  46. lib/sipo_pwm.c \
  47. lib/sonar.c \
  48. lib/spi.c \
  49. lib/stream.c \
  50. lib/uart.c \
  51. lib/wsrgb.c \
  52. lib/main.c \
  53. main.c