From: Dave H. <dhy...@gm...> - 2009-10-28 18:25:52
|
Hi Peter, > Writing this, I feel like there may be an finger pointing at some conflict > between the headers (??) needed/used for Simple-Servo and i2c-io. Perhaps > the "a2d.h" file, which I realize I did not comment out during my tests. I > will try commenting out the "a2d.h" header file and the analog sampling > later, and see what happens. There shouldn't be any conflicts. > Are there any other definition conflicts or register conflicts you can think > of between these two pieces of code? Perhaps you should try taking another approach. Start over with the original i2c-io.c and make sure that works. It's possible that it's a toolchain issue. Perhaps the i2c-Bootloader needs to be built using the same version of toolchain as i2c-io or something like that. Then incrementally add stuff to see when it breaks. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ |