q tested.
This commit is contained in:
parent
3f63314172
commit
40f7c3503e
1 changed files with 25 additions and 13 deletions
|
|
@ -454,19 +454,31 @@ void hello() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// //TEST
|
// //TEST
|
||||||
// Note n = {
|
// {
|
||||||
// 10001, // int32_t id;
|
// Note note_composed = {
|
||||||
// 1, // float pitch;
|
// 10001, // int32_t id;
|
||||||
// 127, // float velocity;
|
// 1, // float pitch;
|
||||||
// 1, // float onoff;
|
// 127, // float velocity;
|
||||||
// 0, // float x1;
|
// 1, // float onoff;
|
||||||
// 0, // float x2;
|
// 0, // float x1;
|
||||||
// 0, // float x3;
|
// 0, // float x2;
|
||||||
// 0, // float x4;
|
// 0, // float x3;
|
||||||
// 5000 // float ps;
|
// 0, // float x4;
|
||||||
// };
|
// 5000 // float ps;
|
||||||
// note_now = n;
|
// };
|
||||||
// repeat_task.restart();
|
// //
|
||||||
|
// uint8_t frm_size = sizeof(Note) + 2;
|
||||||
|
// uint8_t frm[frm_size];
|
||||||
|
// frm[0] = '[';
|
||||||
|
// memcpy(frm + 1, (uint8_t *) ¬e_composed, sizeof(Note));
|
||||||
|
// frm[frm_size - 1] = ']';
|
||||||
|
// //
|
||||||
|
// esp_now_send(NULL, frm, frm_size); // to all peers in the list.
|
||||||
|
// //
|
||||||
|
// MONITORING_SERIAL.print("# posting a req.# ==> ");
|
||||||
|
// MONITORING_SERIAL.println(note_composed.to_string());
|
||||||
|
// //
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
Task hello_task(0, TASK_ONCE, &hello, &runner, false);
|
Task hello_task(0, TASK_ONCE, &hello, &runner, false);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue