repositories {
ivy {
url "http://ivyrep.mbientlab.com"
layout "gradle"
}
}
由MbientLab公司生产的MetaWear传感器可以说是一款新型的传感器,它是一个微型的无线传感器平台,可以感知温度、压力,还自带蓝牙设备。你可以利用自己的手机对它进行控制。
以上就是对MetaWear传感器的简单介绍。最近导师给了MetaWear R系列传感器让我研究,目的是为了实现计步功能。
工具:MetaWear R系列传感器, Android Studio
首先我找到了该传感器的开发文档: https://mbientlab.com/androiddocs/。然后就照着上面的指导一步步来。
第一步:添加编译依赖
To add the library to your project, first update the repositories closure to include the MbientLab Ivy repository in the project's
build.gradle file.
repositories {
ivy {
url "http://ivyrep.mbientlab.com"
layout "gradle"