You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The script will automatically compile and upload the firmware to your connected Arduino board.
51
+
- Ensure the correct board and port are specified in the `platformio.ini` file.
52
+
53
+
3. **Adding Support for Custom HID-Compatible Boards**
54
+
- If you plan to use a custom board with HID emulation, update the `platformio.ini` file located in the `PlatformIO` folder with the appropriate configurations for your board.
55
+
- Modify the `upload.bat` script in the same folder to support additional options.
- The sketch file is located in the `PlatformIO/src` folder as `ArduinoStrike.cpp`.
69
+
70
+
3. **Convert the Sketch for Arduino IDE**
71
+
- Rename `ArduinoStrike.cpp` to `ArduinoStrike.ino`.
72
+
- Create a new folder named `ArduinoStrike`in the `Arduino` projects directory on your system.
73
+
- Move the renamed file into the newly created `ArduinoStrike` folder.
39
74
40
-
2.**Open the Project in Arduino IDE**
41
-
Open the `ArduinoStrike.ino` file located in the `ArduinoSketch` folder in the repository.
75
+
4. **Open the Project in Arduino IDE**
76
+
- Launch the Arduino IDE and open the newly created `ArduinoStrike.ino` file.
42
77
43
-
3.**Connect and Configure Arduino**
44
-
Connect Arduino board to your computer. In the Arduino IDE, select the appropriate **Board** (`Arduino Leonardo`) and **Port**.
78
+
5. **Connect and Configure Arduino**
79
+
- Connect your Arduino board to your computer.
80
+
- In the Arduino IDE, selectthe appropriate **Board** (e.g., `Arduino Leonardo`) and **Port**.
45
81
46
-
4.**Upload the Firmware**
47
-
Click the **Upload** button in the Arduino IDE to flash the `ArduinoStrike`firmware to your board. Once uploaded, your Arduino will function as an HID device, controlling mouse movements according to the code logic.
82
+
6. **Upload the Firmware**
83
+
- Click the **Upload** button to flash the firmware onto your board.
48
84
49
85
# Configuration
50
86
If the `Settings.cfg` file is not found when launching the program, you will be prompted to enter the following settings into the console:
0 commit comments