Hello! I've been checking HitechC demo and I'm afraid led.c is not enough as an example for beginners. I would be very happy if anybody could tell me how should I code my external interrupt routine under this language (I mean, can I have a main program loop, and apart from that a different piece of code that should be executed when an interrupt is detected?) Thank you very much! P.S: *Any* C code example is welcome. ------------------------------------ netQ http://virtuaweb.com/picprog "Home of amateur PIC programmers..." -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzV38BkAAAEEALfWv9j3f+tZ+z2IW+2o9Ebx4bUGnHjHPqIe0a6yVKawaeV/ Y4I6L2/A0ddbVMG8+qJ0MvHNkr3DzYkpW+hTl9zAzXkKBdZ3GA5bbvot7entl/O2 YDtRWUV730koxBo5iFFUbJH5kbmkox+h3znj34zPnZNWzNaqOAwol3wABfBNAAUT tBxOZXRRIDxuZXRxdWFrZUBpbm5vY2VudC5jb20+ =0bVU -----END PGP PUBLIC KEY BLOCK-----