Try that.Code:@ device pic16F887, intrc_osc_noclkout, mclr_off, lvp_off, protect_off, wdt_off
Printable View
Try that.Code:@ device pic16F887, intrc_osc_noclkout, mclr_off, lvp_off, protect_off, wdt_off
tried to interpret your config line in pm terms got the @device to work with MCLR and Lvp but didn't recognise CP. None of this made any difference. However after a lot more somewhat uneducated fiddling I find that the piece of code which seems to produce the problem is the expanding multicoloured disc bit if I remove it to the end I can get both the rotating bit and the flashall bit working. I have however just spotted a message when I compile which states:
Warn Blink.asm599: [102] code crosses boundary @ 800h
I think I am going to have to settle for what I have got and keep it simple... I am getting in over my head here.. Thought flashing a group of leds would be a doddle !!! although the fact that the flashall bit works would seem to rule out power supply problems as that is switching the whole lot on and off.
The above post #41 should be the config for PM.
Read this (post #2)
http://www.picbasic.co.uk/forum/showthread.php?t=40
k the latter as I do not really know the significance
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