When I compiled my program, RobotC said that it "Couldn't open '#include' file 'dirvers/hitechnic-irseeker-v2.h'. So I right clicked on the #include and then clicked "Open include file 'drivers/hitechnic-irseeker-v2.h'", in the dropdown menu, expecting another window or something to open. But, nothing happened... I also tried it on Xander's sample program for the IR Seeker, same result. Is there something that I am missing? And, if so, where can I obtain whatever it is that I am missing? Because my program doesn't want to compile if it can't find it...Thanks!

Wed Oct 09, 2013 6:59 pm

Ernest3.14

Professor

Joined: Sat May 18, 2013 1:24 pmPosts: 271Location: Olympia, WA

Re: HiTechnic IR Seeker Driver

Have you typed everything correctly? It seems like "drivers" is typed as "dirvers"

Have you typed everything correctly? It seems like "drivers" is typed as "dirvers"

Oh, yes. That was just a typo in the post, not the actual code

Wed Oct 09, 2013 9:04 pm

Ernest3.14

Professor

Joined: Sat May 18, 2013 1:24 pmPosts: 271Location: Olympia, WA

Re: HiTechnic IR Seeker Driver

You have to put the driver file where you say it is. So for example, if you say it's in "drivers/hitechnic-irseeker-v2.h", you'll need to make a folder named "drivers" where your .c file is, and then copy the driver file in there. You'll probably need to copy "common.h" in there too, since most of the drivers #include that as well.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum