how to name gpio-pins

bmw-freak
Posts: 2
Joined: Tue Jan 09, 2024 8:52 pm

how to name gpio-pins

Postby bmw-freak » Tue Jan 09, 2024 9:12 pm

  1. Hello
  2. as a beginner I am not shure how the pins in a program shuld be named.
  3. Example code:
  4. // Use software SPI: CS, DI, DO, CLK
  5. Adafruit_MAX31865 max = Adafruit_MAX31865(10, 11, 12, 13);
  6.  
  7. What should I write:
  8. Adafruit_MAX31865 max = Adafruit_MAX31865(P10, P11, P12, P13); (par example)
  9. or only
  10. Adafruit_MAX31865 max = Adafruit_MAX31865(10, 11, 12, 13); ?
  11.  
  12. Is there a hardware spi (at which pins)? In addition to I2C, which I also need.
  13.  
  14. Thank in advance
  15. bmw-freak

Who is online

Users browsing this forum: ESP_Sprite and 88 guests