gpiomapping.py 559 B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/python3
  2. import board
  3. gpiomapping = {
  4. 2: board.D2,
  5. 3: board.D3,
  6. 4: board.D4,
  7. 5: board.D5,
  8. 6: board.D6,
  9. 7: board.D7,
  10. 8: board.D8,
  11. 9: board.D9,
  12. 10: board.D10,
  13. 11: board.D11,
  14. 12: board.D12,
  15. 13: board.D13,
  16. 14: board.D14,
  17. 15: board.D15,
  18. 16: board.D16,
  19. 17: board.D17,
  20. 18: board.D18,
  21. 19: board.D19,
  22. 20: board.D20,
  23. 21: board.D21,
  24. 22: board.D22,
  25. 23: board.D23,
  26. 24: board.D24,
  27. 25: board.D25,
  28. 26: board.D26,
  29. 27: board.D27
  30. }