To make your development faster, Uduino features a complete editor panel. This panel works in pause mode so you don't have to press play to start using your arduino board !
In this panel you can see the boards connected to the computer and directly control them. There are also some advanced features described below.
This section includes the basic settings for Uduino.
To keep your code clean, Uduino has specific log levels. These levels can be changed.
Change the Baud rates setting to match your arduino. By default it's 9600.
NOTE: 8MHz or slower host processors, like the Teensy @ 3.3v or Ardunio Pro Mini running at 3.3v, cannot handle a baud rate > 38400 due to the baud timing being too misaligned with processor ticks.
Uduino has a thread safe function to read and write on the serial port. When not using threads, a function trying to read the Serial port pauses the execution of the program, and might crash it.
This option allows you to limit the command send rates. It might be needed in some case. Once toggled, you can set the send rate send speed.
This part is the core of Uduino. Each board connected is displayed in this section. You can have access to information about the card and pin state, as well as sending commands to the arduino.
These fields display. Last read messages
Board Type: The mapping of pins correspond.
In edit mode of the Editor you are able to verify if the board is connected and send commands to try your code.
Advanced options are available. It shouldn't be needed to modify them.
Try to discover the arduino connected when the game starts.
When you press the button Discover ports or you hit play, the plugin will try to get the identity of the board (i.e the name). To avoid losing serial messages and be sure the board connected has the arduino library uploaded, the plugin tries this step 20 times. You can increase or reduce this number.
Sometimes you have devices recognized as COM ports. Each time you try to find arduino connected, Uduino will also try to ping this device. Although Uduino only detects arduino boards, you might want to blacklist some serial ports to speed-up the detection process.
When you stop the game or hit Close ports, a command is sent to reset the state of all the arduino pin. If a led or a motor is connected, it will be turned off.
Additional debug buttons are available. Get port states: Displays in the console and Clear console: Removes uduino logs from Unity debug console.
Verify if the plugin is up-to-date.