Serial Prosim 737
LINK https://bytlly.com/2sVaCc
I'm just running a simple sketch to interface ProSim737 with Arduino. I have setup a switches matrix and some leds, therefore I can send codes through the serial port when a switch is pressed and receive led numbers to be lit from ProSim737.
When I connect through Prosim I can still receive codes to light up the leds, but I can't send the commands. The SerialUSB.write command is not working anymore. Even by analyzing serial traffic I can see I have traffic outgoing when I use the Arduino Serial monitor interface, while I have nothing when Prosim is working with Arduino.
I am developing an hardware interface to be controlled through the serial port. The system is basically made of switches and leds. Led driver is the MAX7219 with the LedControl library. I have some speed issues in processing the commands sent on the COM port. Normally I can send a command as : "Lxyz=status:" where
My question is : My code is taking from the serial stream one character per time, then processing, then reading the next one. If processing takes too long also reading takes too long. Would it be possible to stream the whole serial buffer into one or more Strings and then parse the strings after? Do you have any advice on how to do so?
It doesn't "work" without the delay() because you're only checking to see that you have at least one character to read.The delay gives you time for the serial line to (hopefully) deliver the rest.This isn't a good scheme to rely upon.
I know, and that's also the reason why at the beginning I lost many hours trying to understand what was wrong. Then by using a serial logger and browing the ProSim forum I learned every string was followed by a ":". Actually if I log the serial traffic this character is there.
Execution of tests in serial allows the user to simulate waveforms individually, and ProSim device resets to LOCAL mode at completion of each test b) Execution of the tests in parallel allows user to simulate tests simultaneously, and ProSim device resets to LOCAL mode only at the completion of each Step
I cannot find the cpflight usb to serial driver needed for my MCP737. The Pro and EL drivers does not work for me.Seems there is no other support for that MCP from CPFlight any more as not mentioned on their website.
After I read your message on ProSim, I have investigated a bit more about (radar.bin as fuipc going to make, I can not find it) I would hear about where it stores the file.I have looked in prosim737 folder. but there is not one radar.bin file 2b1af7f3a8