I can't find any actual documentation for the `#pragma config` statements, which there surely must be. I know that I can use the "Motors and Sensors config" dialog box, but I'm trying to attach sensors that aren't in the dialog boxes (prototype board, etc.). I would also like to know the formatting for the motor config statements as well, so I don't have to open up the dialog box every time something changes (which happens a lot ). I've looked in the system headers but couldn't find anything--I'm guessing the stuff is hard-coded? Which also explains why the config statements have to be the very first lines of the code.Also I dislike automatically-generated code

I am not aware of any docs about this stuff, but if you're using unsupported prototyping boards, there's not a whole lot of point to using the pragma stuff anyway. Configure the ports using SetSensorType() in your own config function. The pragma stuff for the motor and sensor setup is for internal use only and not really made for human consumption.

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