Try that.Code:@ device pic16F887, intrc_osc_noclkout, mclr_off, lvp_off, protect_off, wdt_off
Dave
Always wear safety glasses while programming.
YESSSSS!
It's working ! Finally pinned it down to the power supply. If I supply the PIC separately from the optocoupled transistors it all works. very many thanks to all you patient and helpful souls out there without whom this particular star would never have risen in the west (or anywhere else !). When (if ?) I figure ou how to post a picture and/or video I will be happy to do so. Thanks again
Happy Christmas
Bookmarks