I am using an xbox controller but every time i try to download the program it gives me the error message Code generation not performed. Errors during compilation.

My 1st, 6th, 7th and 8th lines x'ed out on the left hand side and i cannot find a solution

PS-on the tutorial site that uses this code, it uses a logitech usb controller, whereas i am using a XBox Controller

Link to the tutorial-http://www.education.rec.ri.cmu.edu/previews/robot_c_products/teaching_rc_lego_v2_preview/engineeringlabs/remote_control_buttons_lab.pdf

Wed Oct 23, 2013 3:06 pm

rcahoon

Site Admin

Joined: Tue Oct 09, 2012 10:34 amPosts: 192

Re: Problem with Xbox controller coding with NXT

The PDF has a typographic error, and I think you copy-pasted the code and therefore inherited the error. When the PDF was created, straight quotes " were converted into angle quotes “”, which would be appropriate for English, but not ROBOTC code. Try retyping them manually, and the code should compile.

Who is online

Users browsing this forum: No registered users and 2 guests

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