Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Send button sign from Arduino to pc via bluetooth #6025

    Pankaj Verma
    Keymaster

    Hi George Kalandarishvili,

    I have identified the problem. In the function declaration,

    void bluetoothFunc(char button)
    {
    if (Bluetooth.available()) {
    Bluetooth.write(Keyboard.write(button));
    }
    }

    What you are doing here is wrong. You are sending button data if and only if there is bytes available on the Bluetooth. You just have to send the data, when button is pressed. Please try this code and it may work for you.

    void bluetoothFunc(char button)
    {
    Bluetooth.write(Keyboard.write(button));
    }

    in reply to: Send button sign from arduino to pc via bluetooth #6024

    Pankaj Verma
    Keymaster

    Hi George Kalandarishvili,

    I have identified the problem. In the function declaration,

    void bluetoothFunc(char button)
    {
    if (Bluetooth.available()) {
    Bluetooth.write(Keyboard.write(button));
    }
    }

    What you are doing here is wrong. You are sending button data if and only if there is bytes available on the Bluetooth. You just have to send the data, when button is pressed. Please try this code and it may work for you.

    void bluetoothFunc(char button)
    {
    Bluetooth.write(Keyboard.write(button));
    }


    Pankaj Verma
    Keymaster

    I think you are using old extension. You can download the latest extension from here: https://evive.cc/wp-content/uploads/2018/01/eviveInbuiltFunctions.zip. Also you can download other extensions from here: https://evive.cc/resources/.
    Remove the previous extension and then install the new extension.

    • This reply was modified 1 year, 10 months ago by  Pankaj Verma.
    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)