Add test code for using RTT

This commit is contained in:
Sem van der Hoeven
2023-10-27 00:33:17 +02:00
parent 0e4f501f24
commit 4c78d0eac6
4 changed files with 88 additions and 2 deletions

17
due_obd2/obd2_timer.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef OBD2_TIMER_H
#ifdef __cplusplus
extern "C" {
#endif
#include "Arduino.h"
#define CLOCK_FREQ 32768
void obd2_timer_init();
void obd2_timer_reset();
#ifdef __cplusplus
}
#endif
#endif // !OBD2_TIMER_H