Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: port ble_scratch code to rp2040 #58

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

lucarin91
Copy link
Contributor

No description provided.

@lucarin91 lucarin91 marked this pull request as ready for review May 31, 2024 09:28
}
#endif

// get binary leading config and interpret as string
uint8_t cfg[100];
auto n = get_config_bytes(cfg, 100);
// auto n = get_config_bytes(cfg, 100);
Copy link
Contributor Author

@lucarin91 lucarin91 May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • implement the config parsing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • revert this file

while (!Serial)
;
Serial.println("Started");
while (!Serial);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if we remove this check ? because the blocking check block the code if the serial is not attached.
could we simply go ahead and ignore the serial ?

@@ -1,37 +1,49 @@
// BLE Scratch v3 / Connect BLE Sense boards to Scratch via Bluetooth
// 2023.03.04 Added support for BLE Sense R2 and STOPSERVO command
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// 2023.03.04 Added support for BLE Sense R2 and STOPSERVO command
// 2023.03.04 Added support for BLE Sense R2 and STOPSERVO command
// 2024.05.31 Added support for RP2040

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.

None yet

2 participants