Mouse Simulator ATmega32U4 pro Micro, Leonardo, Due
$10-60 USD
Dibayar semasa penghantaran
Hello, you need to write a sketch “Mouse Simulator”. It will be used on the Arduino platform ATmega32U4 pro Micro (Leonardo, Due) to connect to Android, Windows, Linux. The sketch itself should consist of arrays:
1. array for the direction of cursor movement and approximate designation for commands (0_up, 1_down, 2_right, 3_left)
2. an array for the step of moving the cursor, the step value is from 0 to 400 (this value can be increased to 500 600,), if possible, make a separate line to set the change in the step value, since different Devices have different step values. When changing the sketch, it would be convenient to resize the step by increasing or decreasing it.
3. an array of commands for the direction of movement of the wheel. 0_up, 1_down
4. An array of wheel movement values. These options, at your discretion, give the most accurate values that can be moved from line to line.
5. Array pause ms
6_array action value action 1,2,3,4, ..... (works with command 12, if command 12 is specified, works with Array_6, for example, we do not need to perform a cycle of actions, but just need to perform the action several times, then have repeat the action algorithm up to 12 teams several times, and then go to the next command
7_array to indicate commands to execute:
Teams:
1_ indicates cursor movement (refers to the first, second, array)
2_ indicates wheel movements (applies to the third and fourth array)
3 - press and hold the left mouse button (the hold value in ms is the same separate line that we could set for the hold time)
4_ double-click the left key (in this command, the time (ms) between calls in a separate line for setting, i.e. you can set the time between clicks or decrease or increase)
5_ left click
6_click the right mouse button
7_ double-click the right mouse button
8_click and hold the right mouse button
9_ click middle mouse button (wheel)
10 click and hold the middle mouse button (wheel)
11_ pause (temporary value of ms) between executing commands or another delayed time until the next action
12_ command repeat algorithm
13_ instruction cycle action.
Here's what the arrays should look like to populate the action algorithm.
byte _Array1[65] = {0, 0, 1, 2, 3, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
int _Array2[63] = {0, 100, 100, 100, 100, 20, 0, 1000, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
P. S NO ADDITIONAL MODULES, BUTTON OUTPUTS ARE NOT NEEDED. For example, this sketch
ID Projek: #21915538
Tentang projek
4 pekerja bebas membida secara purata $55 untuk pekerjaan ini
We are a team of Electrical and Electronics engineers and we are Excellent in the following areas: • Embedded C Programming. • VHDL/Verilog • Microcontroller like Arduino, Raspberry Pi, FPGA, AVR, PIC and STM32. • ID Lagi
I have just done this for another client as we speak. I can show you proof if you want. Do message me for a chat
I already make a mouse sketch for Arduino Leonardo. I am experienced with Arduino and PIC as microcontroller wit lots of sensors.