-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The M5Stick pairs without a problem with the camera(BMPCC 4k) but after power cycling them ( turning the camera or the M5Stick off and on again), they do not reconnect. Sometimes, the M5Stack says connection successful and the camera says connection failed, other times nothing happens at all.
This is my code:
#include <BlueMagic32.h>
#include <M5StickC.h>
void setup()
{
Serial.begin(115200);
M5.begin();
M5.Lcd.setTextColor(WHITE);
M5.Lcd.println("Connecting Bluetooth");
BMDConnection.begin("Remote6");
BMDConnection.clearPairing();
BMDControl = BMDConnection.connect();
M5.Lcd.println("Connection Succesful");
}
void loop()
{
M5.update();
if (M5.BtnA.wasReleased()) {
BMDControl->record(true);
M5.Lcd.println("A was pressed");
}
if (M5.BtnB.wasReleased()) {
BMDControl->record(false);
M5.Lcd.println("B was pressed");
}
}
After adding the BMDConnection.clearPairing(); line i had a bit more success making them talk after the power cycle but no success reconnecting them.
Metadata
Metadata
Assignees
Labels
No labels