I don't think I'd ever try PBP with a 10F ... just not enough room to spare.
Much better to use ASM.
Here's one from Bruce.
PIC10F200 Automated IR Light Switch
http://www.picbasic.co.uk/forum/showthread.php?t=3261
Doesn't do what you want, but it shows what you can do with a 10F200 and ASM.
<br>
Bookmarks