Home Forums Kits and Learning Modules Starter Kit Project: Touch Piano Project Error (By Scott Dyk)


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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #4767

    Pankaj Verma

    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

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

    • This reply was modified 2 months, 1 week ago by  Pankaj Verma.
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.