configer file for my program
KeyBoard
Posts: 22
Hello
I recently made a 3dof quad robot and are using the propstick for the microcontroller, I have developed basic code for the robot to be controlled via a ps2 controller but now I have about 10 objects for the ps2 walking ,etc and 1 main program that over sees it all, so now for the question in my program at the moment there is constants and pin declarations in all my objects and I want to make it easier for another robot to use my code so I want to make a confi object that holds only the pin declarations and constants, I tried it the regular way of making my object and refering it in my code, but it can only call routines from objects not contests and pin declarations.
any ideas
thanks in advance,
keyboard
I recently made a 3dof quad robot and are using the propstick for the microcontroller, I have developed basic code for the robot to be controlled via a ps2 controller but now I have about 10 objects for the ps2 walking ,etc and 1 main program that over sees it all, so now for the question in my program at the moment there is constants and pin declarations in all my objects and I want to make it easier for another robot to use my code so I want to make a confi object that holds only the pin declarations and constants, I tried it the regular way of making my object and refering it in my code, but it can only call routines from objects not contests and pin declarations.
any ideas
thanks in advance,
keyboard
Comments