2009/1/23 Sebastien Lelong <[email protected]>:
> Hi guys,
>
> For those who are interested, I've just finished a three parts tutorial on
> jallib's blog. It explains how to build an i2c hardware slave using jallib
> libraries (with schematics, photos and even videos :)).

Nice!
What surprises me is that you achieved to get proper indenting on the
code snips in the blog. I tried this too, but did not succeed. Maybe
you want to share your secret with me?

I intend to port my i2c functions to your lib this weekend.
And besides that, I'm working on a new random lib. Random.jal is realy
bad - although it claims to have a 16-bit output, it only uses the
lower 13 bit. I want to use the same algorithm and this requires to
choose the params carefully. There is a lot of theory, but that is
beyond my comprehension. So I have a brute-force program that test all
possible combinations and selects the best one - the one that gives
all 64k options within its sequence and has as much as possible
different step values (current - previous).
There is one issue with this random though: If there is no random
startpoint (seed), then it will run the same sequence at every
startup. But where can we get a random value within the pic at
startup??? Any thoughts??

Joep

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to