-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
base: main
Are you sure you want to change the base?
Conversation
sketches/BLE_Scratch/BLE_Scratch.ino
Outdated
} | ||
#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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- implement the config parsing
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// 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 |
No description provided.