This topic contains 1 reply, has 1 voice, and was last updated by  Pankaj Verma 1 year, 11 months ago.

  • Author
  • #4767
     Pankaj Verma 

    My Achievements

    Passed a Quiz IconFirst Login Icon

    This question was asked by Scott Dyk.

    Touchpiano project, when I add the <channel x touched> block and upload, we get the error: mpr121_touch does not contain a type

    7sketchevive.cpp” -o “C:UsersDYKFAM~ 1AppDataLocalTemparduino_ build_539917sketchevive.cpp.o”
    “C:Program Files (x86) mBlockArduinohardwaretoolsavr/ bin/avr-g++” -c -g -Os  -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   “-IC:Program Files (x86) mBlockArduinohardwarearduinoav rcoresarduino” “-IC:Program Files (x86) mBlockArduinohardwarearduinoav rvariantsmega” “-IC:Program Files (x86) mBlockArduinohardwarearduinoav rlibrariesWiresrc” “-IC:Program Files (x86) mBlockArduinohardwarearduinoav rlibrariesSoftwareSerialsrc” “-IC:Program Files (x86) mBlockArduinohardwarearduinoav rlibrariesSPIsrc” “C:UsersDYKFAM~ 1AppDataLocalTemparduino_ build_539917sketchproject_ Untitled0_6.ino.cpp” -o “C:UsersDYKFAM~ 1AppDataLocalTemparduino_ build_539917sketchproject_ Untitled0_6.ino.cpp.o”
    project_Untitled0_6:9: error: ‘MPR121_Touch’ does not name a type

    MPR121_Touch cap = Adafruit_MPR121();

     Pankaj Verma 

    My Achievements

    Passed a Quiz IconFirst Login Icon

    I think you are using old extension. You can download the latest extension from here: http://thestempedia.com/wp-content/uploads/2018/01/eviveInbuiltFunctions.zip. Also you can download other extensions from here: http://thestempedia.com/resources/.
    Remove the previous extension and then install the new extension.

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