This topic contains 1 reply, has 2 voices, and was last updated by  dhrupal93 1 year, 11 months ago.

  • Author
  • #5731

    My Achievements

    No Achievements Yet!


    I am geting following error.

    Build options changed, rebuilding all
    /home/ohyesabhi/Arduino/libraries/evive_1_1_0/AddUserDefinedFunctions.cpp: In function ‘void loop_user_def_fun_2()’:
    /home/ohyesabhi/Arduino/libraries/evive_1_1_0/AddUserDefinedFunctions.cpp:34:36: error: ‘A9’ was not declared in this scope
    uint16_t sensorValue = analogRead(A9); // read the value from the sensor
    exit status 1
    Error compiling for board Arduino/Genuino Uno.


    Please help me out..


    My Achievements

    Add Your Friend IconFirst Login Icon

    Actually you have selected wrong Board as “Arduino/Genuino Uno” in place of  “Arduino/Genuino Mega or Mega 2560”.

    arduino uno

    Please select the correct board as shown in following image

    evive select mega

    Arduino Uno has only 6 Analog to Digital (ADC) channels A0 to A5, but evive has 10 ADC Pins A0-A6 and A12 to A15.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials


Forgot your details?

Create Account