TEST_ARMACOM.vr
This is a simple test mission that illustrates how ARMA COM can send data to an Arduino
It is meant to work with this Arduino sketch: https://github.com/FatLurch/ARMA_LED/tree/main
- First, select the "List Ports" command from the laptop. You should see ports listed at the bottom left of the game window.
- Go to the init.sqf for the mission, and on line 10, set the variable "com" equal to an appropriate COM port number (e.g. "COM1" or "COM2", etc.)
- Restart the mission
- Select the "connect" command on the laptop. You should a message indicating if it worked at the bottol left of the game window.
- Select "On" to turn the built-in LED on the Arduino on
- Select "Off" to turn the built-in LED on the Arduino off
- Press the button on pin 12 on the Arduino to see a message pop up in the game window
- Select "Disconnect" when you're done