I have a device with an Arduino board inside. The device works fine which is to change gears in a PC truck simulator game, but it will not allow the pc to go into SLEEP MODE. Can IDE be used to add a command to an existing board without damaging the board? The world would like to know. Thanks
The IDE won't damage the hardware.
If you want to add a command, you would need the sketch for the firmware that is loaded on the Arduino board. Then you would add the code for that command in to the sketch code and then upload it. The other alternative would be to write the firmware over from scratch. There is no way to upload just the command code alone into the firmware that is already loaded on the Arduino board. When you upload to an Arduino board, the previous firmware is erased.