Skip to content

Conversation

mushxoxo
Copy link

Updated BleKeyboard.h and BleKeyboard.cpp:

  1. Arduino uses String instead of std::string
  2. String class in Arduino does not have a substr() method like std::string in C++. Instead, use substring()

Update BleKeyboard.h and BleKeyboard.cpp:
1. Arduino uses String instead of std::string
2. String class in Arduino does not have a substr() method like std::string in C++. Instead, use substring()
@fs34a
Copy link

fs34a commented Nov 16, 2024

Thanks. This PR resolved the compiling issues with Arduino 2.3.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants