|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: Motor declarations break analog module
Without viewing the code I'm just guessing, but in my experience, when commenting out code which initializes something and noting bizarre side-effects, it is often useful to look at your compiler warnings or at the code directly for uninitialized variables. The compiler tends to allocate stack variables one after the other except that the optimizer may scramble the order or double up variable declarations. Anyway, if you have an uninitialized variable, these allocations can give your code different behaviors based upon the value that other function calls leave on the stack.
Greg McKaskle |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open motor reference on Slot 6 DIO Module | trilogy2826 | NI LabVIEW | 2 | 27-01-2009 08:42 |
| spring break | thatphotochick | Chit-Chat | 6 | 29-03-2006 17:41 |
| Taking apart the motor control module | Adam Y. | FIRST Tech Challenge | 1 | 15-04-2005 14:02 |
| Module 7 gear -- fischer price motor | archiver | 2001 | 6 | 23-06-2002 22:55 |
| DC Motor current to an Analog Input | junkyarddawg | Motors | 43 | 04-04-2002 15:53 |