Ah, I saw an infinite while in some similar sample code; however, I guess that was a bad idea. So thanks
And just to clarify (i'm kind of new to this), the data processing function is the main function? If not, then i'm a bit confused.
And I am using easyC Pro for this.