$ 0 0 Yes, you would define your own data types after the #endif and before the "USER CODE END" in the code snippet that I had pasted. Regards, Sunil