And if you really do mean 12F1840, look here: http://www.picbasic.co.uk/forum/showthread.php?t=15001