Subject:
|
Re: Hi-speed port communication
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Fri, 4 Jan 2008 09:19:29 GMT
|
Viewed:
|
31117 times
|
| |
| |
In lugnet.robotics.nxt, John Hansen wrote:
>
> Once you have initialized the port type and the hi-speed state machine by
> calling SetHsState(HS_INITIALISE) and SetHsFlags(HS_UPDATE) then reading
> messages is about as simple as calling GetHSInputBuffer(offset, size, buffer);
>
> According to folks at LEGO you can simply use a sensor wire to connect two NXTs
> together on port 4 and send data back and forth using this sort of code.
Cool! I wonder if you could daisy-chain NXTs using this technique, and if so,
how many you could connect?
ROSCO
|
|
Message has 2 Replies: | | Re: Hi-speed port communication
|
| Hi Ross, (...) it should be possible to use RS-485 as a bus, i.e. connect several NXTs with one cable. You need to make the cable yourself, though, and you may need some termination on the ends. Jürgen (17 years ago, 4-Jan-08, to lugnet.robotics.nxt)
|
Message is in Reply To:
| | Hi-speed port communication
|
| I've been getting a number of emails from some people who want to know how to use the hi-speed RS-485 port 4 functionality in the NXT using the standard firmware. With John Barnes' help I now know how to get it to work correctly. Here is a simple (...) (17 years ago, 4-Jan-08, to lugnet.robotics.nxt)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in NXT programmable brick
|
|
|
|