-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patharduino_mpu9250_clk.c
31 lines (26 loc) · 940 Bytes
/
arduino_mpu9250_clk.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/******************************************************************************
arduino_mpu9250_clk.c - MPU-9250 Digital Motion Processor Arduino Library
Jim Lindblom @ SparkFun Electronics
original creation date: November 23, 2016
https://github.com/sparkfun/SparkFun_MPU9250_DMP_Arduino_Library
This library implements motion processing functions of Invensense's MPU-9250.
It is based on their Emedded MotionDriver 6.12 library.
https://www.invensense.com/developers/software-downloads/
Development environment specifics:
Arduino IDE 1.6.12
SparkFun 9DoF Razor IMU M0
Supported Platforms:
- ATSAMD21 (Arduino Zero, SparkFun SAMD21 Breakouts)
******************************************************************************/
#include "arduino_mpu9250_clk.h"
#include <Arduino.h>
int arduino_get_clock_ms(unsigned long *count)
{
*count = millis();
return 0;
}
int arduino_delay_ms(unsigned long num_ms)
{
delay(num_ms);
return 0;
}