Log in

View Full Version : a quick function question


Kashi Chan
06-03-2005, 20:06
just a quick question. is it alright to declare a function in user_routines.h declare and write the function variables and function itself in user_routines_fast.c, and use them in user_routines_fast.c?

whakojacko
06-03-2005, 20:10
sure, just make sure your including user_routines.h (you should be already though). and whne you mean declare in the ehader i assumed you meant prototype

Kashi Chan
06-03-2005, 20:13
yeah sorry about the confusion ^.^

Kashi Chan
06-03-2005, 20:44
sorry but kind of confused with the interrupt.zip i downloaded, do i just input my code normally and the digital inputs for 1-6 will automatically interrupt and do what its supposed to do?