Hi,
Im using PCA10056 nrf52840 to measure light intensity with photodetector.
I got that sensor to measure the intensity of the light on the Arduino. But I don't know how I could do the same with nrf52840 board. I also use nrf52840 board for A0 and A1 pins
Arduino uses the attributes OUTPUT and INPUT and LOW and HIGH. What would be the corresponding attributes of nrf52840 board? I use the SEGGER program for programming.
I have highlighted in yellow the points where I need help.

Thanks for the help.