Hi Vasilis, (...) I think the easiest is to pretend that the same type of communication that you want to have with the slave also goes on within the master. So you need (at least) two threads, one that looks at the line and one that does the (...) (23 years ago, 22-Feb-02, to lugnet.robotics.rcx.java)
Hi Vasilis and Jürgen, I think it can be done with only 1 thread in each. In my Java line follower, the main loop reads the light sensors (I use 2) and issues commands to the two motors. It should be possible to encode the commands into a byte and (...) (23 years ago, 23-Feb-02, to lugnet.robotics.rcx.java)