Tagged: 

1 reply, 1 voice Last updated by  Pankaj 9 months, 2 weeks ago
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4767

    Pankaj
    Keymaster
    @pverma

    My Achievements

    Completed a Course IconCompleted 10 Lessons IconCompleted first Lesson IconScored 100% in a Quiz IconPassed 10 Quizzes IconAdd Your 10 Friends IconSend One Quick Message IconPlease Reply/Comment on An Update IconUpload Your Avatar Pic Here! 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();

    #4768

    Pankaj
    Keymaster
    @pverma

    My Achievements

    Completed a Course IconCompleted 10 Lessons IconCompleted first Lesson IconScored 100% in a Quiz IconPassed 10 Quizzes IconAdd Your 10 Friends IconSend One Quick Message IconPlease Reply/Comment on An Update IconUpload Your Avatar Pic Here! 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.

    • This reply was modified 9 months, 2 weeks ago by  Pankaj.
    Attachments:
    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.