I'm making a control board that interfaces with Logicator software running on a desktop PC. When receiving commands from logicator, sometimes I need to receive one byte of data and sometimes it is necessary to receive two bytes of data and I may to need to receive more if I implement motor control.
As far as I know the picaxe will only receive a set number of bytes, so what is the best and most reliable way to solve this problem?
As far as I know the picaxe will only receive a set number of bytes, so what is the best and most reliable way to solve this problem?