forked from uArm-Developer/UArmForArduino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uarm_calibration.h
37 lines (30 loc) · 909 Bytes
/
uarm_calibration.h
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
32
33
34
35
36
37
/******************************************************************************
* File Name : calibration.h
* Author : Joey Song
* Updated : Alex Tan
* Version : V0.3
* Created Date : 12 Dec, 2014
* Modified Date : 17 Dec, 2015
* Description :
* License :
* Copyright(C) 2014 UFactory Team. All right reserved.
*******************************************************************************/
#include <EEPROM.h>
#include <Wire.h>
#include <Servo.h>
#include <Arduino.h>
#ifndef uarm_calibration_h
#define uarm_calibration_h
class CalibrationClass{
public:
CalibrationClass();
void calibration();
void setOffset();
void calibrations();
void calibrationServo(byte servo_num);
void saveOffsetValue(double value, byte servo_num);
void cleanEEPROM();
void cleanOFFSETS();
};
extern CalibrationClass calib;
#endif