2
0

config.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "dev": {
  3. "spi": {
  4. "mosi": 4,
  5. "clk": 5,
  6. "dc": 18,
  7. "host": "Host1"
  8. },
  9. "dac": {
  10. "bck": 33,
  11. "ws": 25,
  12. "dout": 32,
  13. "model": "I2S"
  14. },
  15. "display": {
  16. "type": "SPI",
  17. "common": {
  18. "width": 256,
  19. "height": 64,
  20. "HFlip": false,
  21. "VFlip": false,
  22. "rotate": false,
  23. "driver": "SSD1322",
  24. "reset": 21
  25. },
  26. "spi": {
  27. "cs": 19,
  28. "speed": 8000000
  29. }
  30. },
  31. "rotary": {
  32. "A": 23,
  33. "B": 22,
  34. "SW": 34,
  35. "volume": true,
  36. "longpress": true
  37. }
  38. },
  39. "names": {
  40. "device": "bureau-oled"
  41. },
  42. "net": {
  43. "credentials": [
  44. {
  45. "ssid": "iot",
  46. "auth_type": "WPA2_PSK",
  47. "password": "facedecafe"
  48. },
  49. {
  50. "ssid": "iot2",
  51. "auth_type": "WPA2_PSK",
  52. "password": "facedecafe"
  53. }
  54. ]
  55. }
  56. }