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.
data_dumper.h@2:d9745be6c253, 2022-08-04 (annotated)
- Committer:
- fionalin
- Date:
- Thu Aug 04 15:14:29 2022 -0400
- Revision:
- 2:d9745be6c253
hehe forgot to commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fionalin | 2:d9745be6c253 | 1 | #pragma once |
fionalin | 2:d9745be6c253 | 2 | |
fionalin | 2:d9745be6c253 | 3 | #include <mbed.h> |
fionalin | 2:d9745be6c253 | 4 | #include <vector> |
fionalin | 2:d9745be6c253 | 5 | #include <tuple> |
fionalin | 2:d9745be6c253 | 6 | |
fionalin | 2:d9745be6c253 | 7 | /** |
fionalin | 2:d9745be6c253 | 8 | * Takes data collected from experiment (steps, tau) and sends it over serial. |
fionalin | 2:d9745be6c253 | 9 | */ |
fionalin | 2:d9745be6c253 | 10 | void dump_data(std::vector<std::tuple<int32_t, uint32_t>>& data); |
fionalin | 2:d9745be6c253 | 11 | |
fionalin | 2:d9745be6c253 | 12 | void clear_data(std::vector<std::tuple<int32_t, uint32_t>>& data); |