Heltec LoRa 32(V3)

Hi,

I’am new to Heltec boards and also Lora. I want to read an analog signal form the Heltec board, but it is not working.

What pins can I use?

Maybe I do something wrong in the code. Hereby the code

int lightPen=A13;

int lightVal;

int dt=1000;

void setup() {

// put your setup code here, to run once:

Serial.begin(9600);
pinMode(lightPen,INPUT);

}

void loop() {

// put your main code here, to run repeatedly:

lightVal = analogRead(lightPen);

Serial.println(lightVal);

delay(dt);

}


Referring to the official instance code may be helpful for you.