element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Does Arduino IDE work in the Pi 2 B 1GB
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 5 replies
  • Answers 2 answers
  • Subscribers 664 subscribers
  • Views 625 views
  • Users 0 members are here
  • raspberry_pi_space
Related

Does Arduino IDE work in the Pi 2 B 1GB

Former Member
Former Member over 10 years ago

I got a Make It Robotics Starter Kit and Arduino Uno and put the Line-Following Robot together. Got Arduino IDE and put MakitRobitics.cpp and MakeItRobitics.h  in a MakeItRobotic file under a Sketch library. Get error compiling.

  • Sign in to reply
  • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago

    Hello,

     

    better if you put the link where did you got the two files. In a general base, as these are .c and .h files I suppose that are not the sketch parts but a library file and its related include file. So there are two options. If these are parts of a library you should put both of them in the library folder of your arduino IDE (a Arduino/libraries subfolder in your Documents folder in a normal installation). Then including the .h in your .ino sketch (it is not needed to put the .h file itself nor the .c in the sketch folder created by the IDE) you have automatically available the library methods and features in the .ino sketch.

     

    In the second case, if these files are not part of a library, should anyway added as further files with the .ino sketch resulting:

     

    1. your sketch in the sketch folder (.ino extension file)
    2. your .c methods accessible by the .ino sketch file in the same folder
    3. your .h file included on top of the .ino sketch

    Anyway, let us know what is the source and probably the mystery can be solved faster,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago

    I have run the IDE on Linux. As for code, I found this Make: It Robotics Starter Kits, Add-On Kits & Arduino Uno | RadioShack On that page is a zip file from download that should have code you need and instructions. balearicdynamics directions are correct. Let either of us know if you have more questions.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to clem57

    Bill,

    just done what you had to do.

     

    1. Downloaded the folder
    2. Unzipped the folder
    3. read the READ_ME.txt file

     

    It contains:

     

    Install the MakeItRobotics Library

    1. Create a MakeItRobotics folder in the libraries sub-directory of your Arduino folder or sketchbook directory.

    2. Copy or move the MakeItRobotics.h, MakeItRobotics.cpp, keywords.txt, and GNU GENERAL PUBLIC LICENSE.pdf files,

       and the Examples folder from the MakeItRobotics folder into that directory.

     

    For more information about Libraries and for alternative installation methods, go to arduino.cc/en/Guide/Libraries

    clem57

    Better read the content of the folders, sometimes image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    The robot moves down the line !

    Thanks Enrico and Clem !

    Bill

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to balearicdynamics

    Took me ages to find the files indicated above - duh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube