View unanswered posts | View active topics It is currently Wed Aug 05, 2020 10:09 am

Reply to topic  [ 1 post ] 
Question about #pragma 
Author Message

Joined: Fri Apr 08, 2011 4:31 pm
Posts: 11
Post Question about #pragma
Is it at all possible to get information from the #pragma statement and use it within a function? So, if it says,

#pragma config(Motor, mtr_S1_C1_1, someMotor, tmotorNormal, openLoop)

could the function find out that the specified motor is connected to mtr_S1_C1_1, and have it run?

Fri Apr 08, 2011 5:38 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

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

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.