this question i not realy on robots. but i am planning on making a pc parralel port controlled robot or "car" im only going to use 1 data line.
i can program ok, i can output anything to that "one" line. can anyone help decoding that message. it will be in binary.
also what message should i use. should i use "f1" for forward 1?
thanks
this question i not realy on robots. but i am planning on making a pc parralel port controlled robot or "car" im only going to use 1 data line.
i can program ok, i can output anything to that "one" line. can anyone help decoding that message. it will be in binary.
If you're only using one data line, then you're performing an asyncronous serial connection - so why not just use the serial port which already does EXACTLY that?.
also what message should i use. should i use "f1" for forward 1?
thanks
It's entirely upto you?, although it would be a good idea to work it out BEFORE you start, and try and make it 'future proof', so you could use the exact same protocol for a more complicted design later?.
How about having the first 3 bits determine the comand and the 5 bits to give the comand data that it needs.
And you can send it in only one byte.You cod also make it first byte the comand and the second byte data.(but what the heck wod you fo whith 256 comands)