Re: Specifying which device to program

"ct3lions2000" <[email protected]>
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <[email protected]>
Thanks for all the suggestions guys :-)



--- In [email protected], Scott Henion <shenion@...> wrote:
>
> On 10/15/2013 6:47 PM, jima wrote:
> >
> > Let us combine Scott's suggestion with the question.
> > Using Scott's suggestion of configuring a DigIn either high or low to
> > indicate which SBC you have, then combine both codes into one and in
> > YOUR CODE have the code configure the functions to be executed based
> > on this DigIn level.
> >
> > Now that I think of it I have done this so much I did not see the
> > solution until Scott mentioned it, WOW!
> > I need to step back out of the forest so I can see the trees again!
> >
> > Good answer Scott.
> 
> It also works to allow your code to adapt to different revisions of
> boards. If I change the hardware put something in to allow the code to
> "see" that  it is a new revision board.
> 
> -- 
> ------------------------------------------
>      Scott G. Henion, Consultant
> Web site:    http://SHDesigns.org
> ------------------------------------------
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.