On 12 Dec 2008, at 14:21 , Sebastien Lelong wrote: > Add it. Add timeset.py as well. > > No, this is not a lib, because it's supposed to be modified. This > is more related to an application. > > Shall I modify timeset.py to list itself in now.jal? > > timeset.py principle, IIRC, is it generates a now.jal "on the fly", > then the whole is programmed to the chip, as soon as it's done. > Again, it's more related to an application: you define here a way > to "push" the current time on the pic, but it's based on the way > you use your programmer and the fact you can upload your program > fast. And what if programming fails ? Need to generate now.jal > again so you're stil accurate ? Another way would be to set the > time using a serial com. I mean, there are many different ways, it > just depends the way your app is. > > To summarize: not a lib, because it's supposed to be modified, and > lib aren't supposed to be modified. Better create a blog post about > this
The blog isn't there yet and there must be a way to set the time at compile-time. Just include now.jal, if the user tires of hand editing, he will get timeset.py from somewhere. > :) > > > Seb > -- > Sébastien Lelong > http://www.sirloon.net > http://sirbot.org > > > --- ir EE van Andel [email protected] http://www.fiwihex.nl Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands tel+31-546-491106 fax+31-546-491107 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
