View Full Version : adc code problem
railerobotics
01-23-2006, 05:51 PM
I added kevins adc code to his camera code and I followed the instructions he gave. It builds fine but when I download it the operator interface shows a code error. What's wrong?
railerobotics
01-23-2006, 06:28 PM
If I'm not being specific enough please tell me.
Greg Ross
01-23-2006, 07:42 PM
If I'm not being specific enough please tell me.
It might help to post the code you changed. I haven't done anything with the ADC code yet, but if we see your code, we might spot something.
railerobotics
01-23-2006, 08:39 PM
I changed kevin watson's camera code. The adc modifications are the first things that I've done to the code.
kaszeta
01-23-2006, 08:54 PM
Are you sure you did all the modifications (including the ones in user_routines_fast.c)?
If something is wrong with your interrupt service routine in user_routines_fast.c, you'll get the red-light-o-death.
railerobotics
01-24-2006, 04:26 PM
I'm positive I did all the modifications and I checked to make sure they were correct 5-6 times
kaszeta
01-24-2006, 09:26 PM
You might try posting your code.
Or try the user_routines_fast.c that Kevin posted here: http://www.chiefdelphi.com/forums/showpost.php?p=437541&postcount=6
vBulletin® v3.6.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.