SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By mtajeldin
#193913
Hi All,

I followed the board Hookup guide:

https://learn.sparkfun.com/tutorials/nr ... okup-guide

and after installing the libraries (i.e., nRF52 and SparkFun nRF52832 Breakout), it seems it's working fine without the need for "nRF52832 Development Kit".
However, when I attempted to read analog data from A4/28, it is does not display anything on Serial Monitor (not reading):
Do I need to get nRF52832 Development Kit to get the circuit working? any suggestions? thanks.
Code: Select all
const int analogPin = 28; // P28, 1st attempt failed
//const int analogPin = A4; // 2nd attempt also failed 

void setup() {
  pinMode(analogPin, INPUT);
  Serial.begin(9600);
}

void loop() {
  int sensorValue = analogRead(analogPin)/4;
  Serial.println(sensorValue);
  delay(10);
}