how to name gpio-pins
Posted: Tue Jan 09, 2024 9:12 pm
- Hello
- as a beginner I am not shure how the pins in a program shuld be named.
- Example code:
- // Use software SPI: CS, DI, DO, CLK
- Adafruit_MAX31865 max = Adafruit_MAX31865(10, 11, 12, 13);
- What should I write:
- Adafruit_MAX31865 max = Adafruit_MAX31865(P10, P11, P12, P13); (par example)
- or only
- Adafruit_MAX31865 max = Adafruit_MAX31865(10, 11, 12, 13); ?
- Is there a hardware spi (at which pins)? In addition to I2C, which I also need.
- Thank in advance
- bmw-freak