Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Arduino IDE Problem

Comments

  • Registered Users, Registered Users 2 Posts: 2,320 ✭✭✭Chet T16


    The code is calling two functions that have not been declared, backup() and restore() within the arduino code. Is the code missing a #include or something?


  • Registered Users, Registered Users 2 Posts: 2,320 ✭✭✭Chet T16


    Oh I see it now, you need to add the Backup.ino file to your sketch too


  • Registered Users, Registered Users 2 Posts: 198 ✭✭Recoil12


    Thanks Chet, how might I do that then? Is it simply copy/paste or is there more to be done?


  • Registered Users, Registered Users 2 Posts: 2,320 ✭✭✭Chet T16


    Check out the bit on using multiple files here http://arduino.cc/en/Hacking/BuildProcess

    I haven't access to the ide to double check but once you have both ino files in tabs in the one window it should compile


  • Registered Users, Registered Users 2 Posts: 198 ✭✭Recoil12


    I got as far as including the 3 required files in the one arduino sketch using tabs.I'm still getting errors compiling(although different than before) which I will post as soon as possible.Is there any chance you could run it in the arduino IDE and see what you get?

    Thanks again.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,320 ✭✭✭Chet T16


    I just checked and it compiles for me on 1.0.2 (shouldn't make a difference with 1.0.5)

    I have the PSG_Arduino_Code folder in my normal sketch folder, the 3 files are in this folder - when you open PSG_Arduino_Code.ino it will load the other two into tabs automatically


  • Registered Users, Registered Users 2 Posts: 198 ✭✭Recoil12


    Here's how I am doing it(please tell me where I'm going wrong).
    1.Opening PSG_Arduino_Code directly from Winrar folder.
    2.Add tab>backup(1)>open backup in seperate window(2) and copy paste into tab(1)
    3.Add tab>EEPROMAnything>go to here to copy code(http://www.instructables.com/id/Nerf-Vulcan-Sentry-Gun/?ALLSTEPS)>paste into EEPROMAnything tab
    4.Compile

    Results in error(included image).


  • Registered Users, Registered Users 2 Posts: 2,320 ✭✭✭Chet T16


    This is the folder in my sketch folder (i.e. the one listed as sketchbook location under File > Preferences)

    3b1bf1d335425cb5a7713caca3aed3c4.png

    Double clicking PSG_Arduino_Code.ino opens all 3 files

    afbf0a78b5d364f5ecef7d904c9b5df7.png


  • Registered Users, Registered Users 2 Posts: 198 ✭✭Recoil12


    Thanks a million Chet that did it :D.


Advertisement