Subject:
|
Address locations port d and y0
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Sun, 18 Oct 1998 15:21:16 GMT
|
Original-From:
|
Adam Oliver <oli@wantree.com.!Spamcake!au>
|
Viewed:
|
1004 times
|
| |
| |
Ok I've had another read of the FAQ, as well as a close look at the
schematics for the handyboard and the expansion board. Correct me if I'm
wrong, but I think I can use d0-d7 along with Y0 or similar and hook these
into a HC374 to get some digital outputs.
My question is, what address do I have to poke to in order to set or unset
these bits? I can't find this information anywhere, and I've gone over all
the source code I can find. Also what should the sequence be? I know it's
similar to the motor output routines, but I can't work it out.
Any help would be great,
Thanks
Adam
|
|
Message has 1 Reply: | | Re: Address locations port d and y0
|
| it's in the faq, at (URL) you do is write to 0x4000, 0x5000, 0x6000 depending on whether your latch is attached to Y0, Y2, or Y4 (respectively). e.g., "poke(0x4000, 0xff);" will set all the bits of a latch attached to Y0 to 1. Fred In your message (...) (26 years ago, 18-Oct-98, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|