Search the web
Sign In
New User? Sign Up
handyboard · Handy Board
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Port is in use by Expansion Board - but no expansion board installed   Message List  
Reply | Forward Message #5863 of 5985 |
Re: [handyboard] Port is in use by Expansion Board - but no expansion board installed

Yes, the default software libraries assume an Expansion Board, and
reserve those two pins for it.

One simple workaround is to use analog(16) to get analog(0), and
analog(17) to get analog(1).

Or, you can track down the library file and change the code. I think
it's in hb.c.

Fred


On Tue, May 26, 2009 at 7:51 PM, indiemnjacobs
<mike.jacobs@...> wrote:
> I have a new Handy Board and I am attempting to read an analog input for the
first time.  I have a trivial infinite loop that reads an analog port value and
displays it.
>
> The problem is that each time the analog function is called, the HB beeps and
displays 'Port is in use by Expansion Board'.  The only problem is that I have
no expansion board installed.  The problem occurs only on ports 0 and 1.  The
other ports report values of 252 or 253 with nothing attached to them.
>
> I have reloaded the IC 8 firmware with identical results.
>
> Any ideas?  Are ports 0 and 1 reserved for the expansion board?
>
> Thanks,
> Mike
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>



Wed May 27, 2009 1:47 am

fgmartin
Offline Offline
Send Email Send Email

Forward
Message #5863 of 5985 |
Expand Messages Author Sort by Date

I have a new Handy Board and I am attempting to read an analog input for the first time. I have a trivial infinite loop that reads an analog port value and...
indiemnjacobs
Offline Send Email
May 26, 2009
11:52 pm

Yes, the default software libraries assume an Expansion Board, and reserve those two pins for it. One simple workaround is to use analog(16) to get analog(0),...
Fred G. Martin
fgmartin
Offline Send Email
May 27, 2009
1:47 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help