q tested.

This commit is contained in:
Dooho Yi 2021-06-13 14:55:10 +09:00
parent 3f63314172
commit 40f7c3503e

View file

@ -454,7 +454,8 @@ void hello() {
}
// //TEST
// Note n = {
// {
// Note note_composed = {
// 10001, // int32_t id;
// 1, // float pitch;
// 127, // float velocity;
@ -465,8 +466,19 @@ void hello() {
// 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 *) &note_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);