Subject:
|
Re: Problem with accessing analog and digital ports on HB with IC2.81
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 12 Jul 1999 18:08:21 GMT
|
Original-From:
|
Fred G. Martin <fredm@media.mit!AvoidSpam!.edu>
|
Viewed:
|
904 times
|
| |
| |
you have to use the HB libraries; you're probably using the 6.270
Board libraries.
get the new libs from
http://el.www.media.mit.edu/projects/handy-board/software/ .
run 'ic -config' to change the default library to lib_hb.lis.
fred
In your message you said:
> Hello,
>
> (newbie warning - I've read the FAQ and manuals, but I may still be
> missing something very trivial. Still, thanks for making it so far!)
>
> I just bought a handyboard from Gleason Research (with the expansion
> board) and started going through the hb and ic instructions. I'm running
> ic2.81 on a SGI O2 running IRIX 6.5.
>
> I've succesfully downloaded pcode_hb.s19 (if memory serves correctly)
> and when running IC, simple stuff works OK; I can use beeper_on and
> beeper_off withouth any problem, printf and a couple of other ones.
>
> On the other hand, I have tried connecting the switches that I received
> with the HB and if I test them with a multi-meter they work fine. But I
> get no reading on calls like analog(16), or any other ports for that
> matter. Also left_button() and right_button() always return the same
> thing.
>
> It looks like i've configured ic to look in the right place for the
> libraries. I've also moved and reconfigured everything to /usr/local/
> directories as in the manual.
>
> Somehow, though, I must still be missing something. In the
> examples/instructions, it looks like there should be such functions as
> start_button() and stop_button() but those do not appear when I invoke
> the 'list functions' command under IC.
>
> My apologies if it's something trivial.
>
> Thanks!
>
> - martin
>
|
|
Message is in Reply To:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|