OK, let's forget this !

Seb

2009/1/19 Joep Suijs <[email protected]>

>
> Hi,
>
> 2009/1/19, Sebastien Lelong <[email protected]>:
> > Hi again guys,
> >
> > I've been mistaken this several times... Writing a test file, when I want
> a
> > LED, I say "@jallib use led". But that's not enough, I must also say:
> > "led_direction = output". Shouldn't direction be setup in board, not in
> test
> > file ? I could use the pins for other purposes, but why would I requite a
> > LED then ?
> >
> In general, the board file does not generate any code and the
> prescaler setting for the internal clock of 16f88 is the only
> exception. This makes it possible to include a board file and a test
> file in a program and compile it.
> If we would also put code into the board file, we (but also nebies)
> need to generate an example (in other words: remove part of the board
> file) to get a working program.
> I would not like that.
> Besides this, it would also mean that a lost 'use lcd' line could
> break the code if someone does try to generate an example. Not good
> for newbies too.
>
> I see your point, but it would not be my choice...
>
> Joep
>
> >
>


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

Reply via email to