Well to you it might be the whole core, but to me it's just so much confusion! :-)
I am sure it is what I want, but until I understand it it's still like a puzzle waiting for me to figure it out.
We're still not dealing with 0 and 1 as the random numbers. Generating something from 1 to 16 means 16 lines of IF...THEN or some such to branch. By using 0 and 1 I can set each of the four output pin as high or low then use a fifth pin that "turns on" the 74HCT. Smaller program.
That doesn't mean the eeprom idea doesn't still work. I just can't understand it all yet to see how it works so I can use it. It's all giving me a headache! I am going back to study further your code.
Thanks.
Bart
P.S. I'm still working on understanding the fuses thing. I gather I need a resistor from the +5 to MCLR pin and the programmer has a box to either check or uncheck MCLR, but there is nothing in the help file that explains when to check or uncheck. I also read that MCLR doesn't need anything and one circuit diagram I saw doesn't have the pin going anywhere.
Bookmarks