I am writing a program to use LoRa RN2483 with MSP430G2553 sending to LoRa the readings from some sensors. First I had a temperature sensor DS18B20 (digital reading), the internal temperature from MSP, the internal supply voltage from MSP and the code worked great, the readings we're good and were succesfully sent to LoRa using UART.
Now I am trying to add a humidity sensor on P1.4 and a photoresistor on P1.5 ( using a 10k resistor like this: Vcc --- photoresistor -- P1.5 --- 10k resistor --- GND). These sensors are analogue so that I need 2 ADC to read them. I made something li