> You could, for example, count all the "1" bits in the ram space. The ram has > no default values on startup, perhaps there are some bits that initialize > sometimes to 0 and sometimes to 1. Or, there can be some data left from the > last run.
If power was not disconnected the ram values will be the same as they where when he last program ended (after a reset). storing the value in eeprom is also not an option since some PIC's don't have eeprom. I did a count on 1 million random numbers generated by both libraries, each library shows great results. each number gets generated about the same number of times (3700 - 4100). also, the random numbers averaged (127.5 = best) old lib: 127.5126 new lib: 127.5776 but of course, those results are random :) A visual image may still show differently since I do not check the order of the generated random bytes. Matt. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
