> > > >> And in addition to this, some hardware configuration files look like > >> an opportunity. What could they be used for? lcd connection? keyboard? > >> A led (which does not have a correspondig library but it would make a > >> blinking led portable)? > > > > ??? Sorry, I'm lost :) > > Can you give some examples here as well ?... > I can see why. I need a good night sleep and start on this shortly ;) > I mean: what type of hardware make sense to put into this config file.
What do you mean by config file ? Is it the one you're putting defaults in ? > > It should be a fixed-board configuration with peripherals (not the > one's in the chip, but lcd, keyboard etc) on designated pins. > Wouters dwarf board has lots of possible configurations (5 ports * 5 > boards is 25 combinations) and Stefs RPD board even has many more. I > like the modularity but Jal can't handle this (you need a preprocessor > of some kind for this, but that gets a bit off-topic). The hardware stuff is one step above, distinct from EZ mode. Layers could be: 3. libraries tied to hardware ------------------------- 2. EZ mode, defaults ------------------------- 1. jallib libraries, as we know them by now > > You'll get plenty of config... Is 8Mhz_internal is procedure that define > > pragmas and fuses ? > Pragma's (which are the fuses) and also code if required (setting of > the appropirate divider for 8mhz, enabling the watchdog. > Would make it more easy to use complex functions but maybe it is too > ambitieus/complex to implement... I have some ideas, I need to check this with some code. configure_clock(20_000,false) -- false means: "not internal" configure_clock(4_000, true) -- will set IRCF bits > Would be nice if we get it to work. As an alternative, we could say: > > > include 16f88 > const ez = true > include adc > -- EZ mode activated, sequence activated, > -- extrasolar module will be launched in 3... 2... 1... > > Not so nice, I agree. But it avoids a sensitive sequence of statements. But it pollutes our current libraries: they have to deal with an external constant, related to their proper usage. > > > > Looks like a marketing speech :) I like that ! > .. > > Let's never forget this: easy yet powerful and flexible ! > You're not doing so bad yourself either. > > > > (who said jallib was more complicated ?) > I don't recall someone said jallib itself was more complicated. But it > is different, you need to do a few more things (like setting the > fuses) and (my guess most importantly) there is no guide that takes > you by the hand to blink your first led and 49 more, logically ordered > step with a bit of explanation on each step. Yes, there's no guide, but this is work in progress with jalliblog, even if it needs lots of improvements. > > And if you follow the book for the first time, I can imagine you don't > want to add complexity by use a different library set. Sure > > So do we want to compete with this book? No... But we could write some articles in specific reviews. For instance, I subscribed to "Servo" magazine, and I kind of tired always reading things about basic compiler, propeller, ... nothing about jalv2 ! > > But... I almost started on updating the pjal manual and if it was in > doc or docx format I probably would have. Nice ! Don't you think a format which could be put under SVN would be better ? I mean ASCII format, like docbook or LaTEX ? What's the current format ? > > > PS: woaah... it's been a long time since we haven't debate like this, > this > > reminds me the early days of jallib, my friend ! > It sure has been a while! > And back in the early days, Eur also participated. Does anyone know he > is these days? No news, IIRC the last post was on jallist. Cheers, Seb -- Sébastien Lelong http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
