[Featured][Dev] PindurTI (Best Thread 2005)
Moderator: MaxCoderz Staff
- Jim e
- Calc King
- Posts: 2457
- Joined: Sun 26 Dec, 2004 5:27 am
- Location: SXIOPO = Infinite lives for both players
- Contact:
Its not quite the same is it? I mean two ports in a dasiy chain usually means one port is in and one is out, in this case they would have to be defined in and out per calc. And then what happens if you need 3 calcs
Calc 1:
Link In
Usb Out
Calc 2:
Link Out
Usb In
Calc 3:
Link In
Usb Out
Doesn't TI have some kind of class room Hub?
Also whats new with pindur?
Calc 1:
Link In
Usb Out
Calc 2:
Link Out
Usb In
Calc 3:
Link In
Usb Out
Doesn't TI have some kind of class room Hub?
Also whats new with pindur?
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
- Jim e
- Calc King
- Posts: 2457
- Joined: Sun 26 Dec, 2004 5:27 am
- Location: SXIOPO = Infinite lives for both players
- Contact:
OMG you poor bastard, all those trees and people and not a computer in sight. I sympathize with your plight, I hope others on the forum do as well.CoBB wrote:Maybe, but then it's a quite nice hell.
LOL
(That is, if my throat would be any less sore...)
Anyway, you could do a daisy chain with just the link port, using one line for in and one line for out, as DigiTan suggested. But my way is much easier to wire and to code![Smile :)](./images/smilies/grayscale_smile.gif)
![Razz :P](./images/smilies/grayscale_grin.gif)
Anyway, you could do a daisy chain with just the link port, using one line for in and one line for out, as DigiTan suggested. But my way is much easier to wire and to code
![Smile :)](./images/smilies/grayscale_smile.gif)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
I haven't been following this thread so I'm not sure what it is you are trying to do, but if you are talking about what I think you are, using one line for in and one for out wouldn't work. For instance, how would you differentiate between two consecutive 1's or 0's with only one line?Timendus wrote:LOL(That is, if my throat would be any less sore...)
Anyway, you could do a daisy chain with just the link port, using one line for in and one line for out, as DigiTan suggested. But my way is much easier to wire and to code
On a related note, I had an idea a few months ago to speed up link transfers. As has been noted, the are 4 possible states for the two lines. In order to send data you need to change states to signal a new bit, so that leave us with 3 states we could go to from any given state.
Therefore, if you could convert could data to base-3 before sending, you get an increase in efficiancy. Here is how you could do it:
If line 1 changes state (high to low or vice-versa) the "bit" is 0
If line 2 changes state, the bit is a 1
If both lines change state, the bit is 2
In theory, it would work, but the hard part would be the base-2 to base-3 conversion (and back again on the receiving end).
EDIT: How about using the "bit 2" state to alternate between send and receive states? Not sure if that would work, I haven't given it much thought.
With timing. I used this principle with an IR port I once built with a friend:qarnos wrote:if you are talking about what I think you are, using one line for in and one for out wouldn't work. For instance, how would you differentiate between two consecutive 1's or 0's with only one line?
- Short pulse is 0
- Long pulse is 1
- To send: Send average of long and short first, then 8 bits
- To receive: Clock first pulse, check for next 8 pulses if they take longer or shorter than the first
You could do the same with on line of the link port.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Mmm... I don't like the idea of using timing on a calc. But if it works, it works!Timendus wrote:With timing. I used this principle with an IR port I once built with a friend:qarnos wrote:if you are talking about what I think you are, using one line for in and one for out wouldn't work. For instance, how would you differentiate between two consecutive 1's or 0's with only one line?
- Short pulse is 0
- Long pulse is 1
- To send: Send average of long and short first, then 8 bits
- To receive: Clock first pulse, check for next 8 pulses if they take longer or shorter than the first
You could do the same with on line of the link port.
Just another thought... How about this. To send a bit, you alternate the status of one of the two lines. The receiving system acknowledge by either:qarnos wrote:Mmm... I don't like the idea of using timing on a calc. But if it works, it works!
alternate both lines: plain ack.
alternate one line: ack plus send bit.
That way the receiver can acknowledge and send a bit at the same time. Then the original sender can ackowledge and send, so forth. If one calc has no data to send, it just responds with a plain ack.
Food for thought.