Page 1 of 1

how to name gpio-pins

Posted: Tue Jan 09, 2024 9:12 pm
by bmw-freak
  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