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.
log.h
- Committer:
- GaspardD
- Date:
- 2019-10-04
- Revision:
- 10:e63fe4080760
- Parent:
- 9:1b54bac6d9a7
- Child:
- 11:2156cb77d0d6
File content as of revision 10:e63fe4080760:
#ifndef H_LOG #define H_LOG #define LOG_SIZE 5000 #include "mbed.h" typedef struct sample { int timestamp; double left_90; double right_90; double left_45; double right_45; int pwm_dir; double odom; double speed; }s_Sample; void log_start(int duration_ms); void log_check(); void log_pc(); extern Serial rs_LOG_pc; //extern Serial rs_LOG_odroid; extern bool b_LOG_READY; extern s_Sample s_LOG_history[LOG_SIZE]; extern int i_LOG_index_data; #endif