Adding version number to all examples

This commit is contained in:
Rodrigo Alfonso
2024-01-25 01:08:14 -03:00
parent 2a52e88b8d
commit 4ed9ae21c5
11 changed files with 19 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ int main() {
u16 keys = ~REG_KEYS & KEY_ANY;
linkCable->send(keys + 1); // (avoid using 0)
std::string output = "";
std::string output = "LinkCable_basic (v6.2.0)\n\n";
if (linkCable->isConnected()) {
u8 playerCount = linkCable->playerCount();
u8 currentPlayerId = linkCable->currentPlayerId();