⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mma.h

📁 MSP acquires data and sends through USB to PC. Check the link for PC capture software and project d
💻 H
字号:
/*
 * File:        mma.h
 * Purpose:     Prototypes of MMA7260 XYZ acceleration meter handling functions
 * Author:      Peter Ivanov, Olimex Ltd.
 * Modified by:
 * Created:     2007-05-19 11:29:32
 * Last modify: 2007-10-03 21:12:23 ivanovp {Time-stamp}
 * Copyright:   (C) Peter Ivanov, Olimex Ltd., 2007
 * Licence:     GPL
 */
/**
 * \file mma.h
 * \brief Protypes of MMA7260 XYZ acceleration meter handling functions.
 * \author Peter Ivanov, Olimex Ltd.
 */
#ifndef __INCLUDE_MMA_H
#define __INCLUDE_MMA_H

#define MMA_COORD_X     0
#define MMA_COORD_Y     1
#define MMA_COORD_Z     2

// MMA coordinates array
extern int MMA_coordinates[3];

/**
 * Initialize MMA7620Q device.
 */
void MMA_init (void);

/**
 * Get MMA coordinates (X,Y,Z)
 * The result is in array MMA_coordinates.
 */
void MMA_getCoordinates (void);

#endif // __INCLUDE_MMA_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -