Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: data_dumper.h
- Revision:
- 2:d9745be6c253
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data_dumper.h Thu Aug 04 15:14:29 2022 -0400 @@ -0,0 +1,12 @@ +#pragma once + +#include <mbed.h> +#include <vector> +#include <tuple> + +/** +* Takes data collected from experiment (steps, tau) and sends it over serial. +*/ +void dump_data(std::vector<std::tuple<int32_t, uint32_t>>& data); + +void clear_data(std::vector<std::tuple<int32_t, uint32_t>>& data);