Advertisement
vargalex

Untitled

Jul 26th, 2021
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. # This file must be renamed to vfd.conf and placed in the /storage/.config/ folder.
  2. #
  3. # TX3(S905X3) configuration
  4. #--------------------
  5. #gpio_xxx:
  6. # [0] 0 = &gpio, 1 = &gpio_ao.
  7. # [1] pin number - https://github.com/openSUSE/kernel/blob/master/include/dt-bindings/gpio/meson-g12a-gpio.h
  8. # [0] Reserved - must be 0.
  9.  
  10. vfd_gpio_clk='0,65,0'
  11. vfd_gpio_dat='0,64,0'
  12. vfd_gpio_stb='0,0,0xFF'
  13.  
  14. #chars:
  15. # < DHHMM > Order of display chars (D=dots, represented by a single char)
  16.  
  17. vfd_chars='2,1,2,3,4'
  18.  
  19. #dot_bits:
  20. # Order of dot bits. Typical configurations:
  21. # Display Type 0, 1 usually has Alarm, USB, Play, Pause, Col, Ethernet, Wifi dots
  22. # Alarm = 0, USB = 1, Play = 2, Pause = 3, Col = 4, Eth = 5, Wifi = 6
  23. # Display Type 2 usually has APPS, USB, SETUP, CARD, Col, HDMI, CVBS dots
  24. # APPS = 0, USB = 1, SETUP = 2, CARD = 3, Col = 4, HDMI = 5, CVBS = 6
  25. # Display Type 3 Power, LAN, Col, Low Wifi, High Wifi
  26. # N/A = 0, N/A = 1, Power = 2, LAN = 3, Col = 4, Low Wifi = 5, High Wifi = 6
  27.  
  28. vfd_dot_bits='0,1,3,2,4,5,6'
  29.  
  30. #display_type:
  31. # [0] - Display type.
  32. # [1] - Reserved - must be 0..
  33. # [2] - Flags. (bit 0 = '1' - Common Anode display)
  34. # [3] - Controller.
  35.  
  36. vfd_display_type='0x00,0x00,0x00,0x03'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement