FlexBASIC Create robot comms
I am trying to create a program in FlexBASIC to communicate with the Create robot. I have tried different versions of 'print ', but did not get anything to work.
I have a SimpleIDE program that works with the Create robot, so I know the connections are correct. I am using the following:
cr=fdserial_open(0, 1, 0, 57600); //Connect to robot
fdserial_txChar(cr,128); //Put robot in Start mode.
I am not sure what the conversion of fdserial_txChar(cr,128); should look like in FlexBASIC.
Also, what would the conversion of this, look like in FlexBASIC: