Skip to main content

You can read the actual SPI pins with the following sketch

void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.print("MOSI: ");
  Serial.println(MOSI);
  Serial.print("MISO: ");
  Serial.println(MISO);
  Serial.print(" SCK: ");
  Serial.println(SCK);
  Serial.print("  SS: ");
  Serial.println(SS);
  Serial.println();
  delay(5000);
}
    void setup() {
      Serial.begin(115200);
    }
    
    void loop() {
      Serial.print("MOSI: ");
      Serial.println(MOSI);
      Serial.print("MISO: ");
      Serial.println(MISO);
      Serial.print(" SCK: ");
      Serial.println(SCK);
      Serial.print("  SS: ");
      Serial.println(SS);
      Serial.println();
      delay(5000);
    }

As Juraj wrote, they are defined in the board files.

I have no experience with your ILI9488 display and the corresponding library. Many libraries allow you to use software defined pins. I would not recommend that, especially for a display with 480 x 320 pixels. You really need the speed of the hardware SPI.

You can read the actual SPI pins with the following sketch

void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.print("MOSI: ");
  Serial.println(MOSI);
  Serial.print("MISO: ");
  Serial.println(MISO);
  Serial.print(" SCK: ");
  Serial.println(SCK);
  Serial.print("  SS: ");
  Serial.println(SS);
  Serial.println();
  delay(5000);
}

As Juraj wrote, they are defined in the board files.

I have no experience with your ILI9488 display and the corresponding library. Many libraries allow you to use software defined pins. I would not recommend that, especially for a display with 480 x 320 pixels. You really need the speed of the hardware SPI.

You can read the actual SPI pins with the following sketch

    void setup() {
      Serial.begin(115200);
    }
    
    void loop() {
      Serial.print("MOSI: ");
      Serial.println(MOSI);
      Serial.print("MISO: ");
      Serial.println(MISO);
      Serial.print(" SCK: ");
      Serial.println(SCK);
      Serial.print("  SS: ");
      Serial.println(SS);
      Serial.println();
      delay(5000);
    }

As Juraj wrote, they are defined in the board files.

I have no experience with your ILI9488 display and the corresponding library. Many libraries allow you to use software defined pins. I would not recommend that, especially for a display with 480 x 320 pixels. You really need the speed of the hardware SPI.

Source Link
qubit
  • 380
  • 1
  • 4
  • 11

You can read the actual SPI pins with the following sketch

void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.print("MOSI: ");
  Serial.println(MOSI);
  Serial.print("MISO: ");
  Serial.println(MISO);
  Serial.print(" SCK: ");
  Serial.println(SCK);
  Serial.print("  SS: ");
  Serial.println(SS);
  Serial.println();
  delay(5000);
}

As Juraj wrote, they are defined in the board files.

I have no experience with your ILI9488 display and the corresponding library. Many libraries allow you to use software defined pins. I would not recommend that, especially for a display with 480 x 320 pixels. You really need the speed of the hardware SPI.