任何从Mac上的传感器获取数据的示例代码? [英] Any sample code on getting data from sensors on Mac?

查看:92
本文介绍了任何从Mac上的传感器获取数据的示例代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Objective-C和这个网站的新手,所以你能指点我的方向吗?
我需要在环境光传感器突然运动传感器上的示例代码 。我真的需要这个代码,我没有在google上找到任何东西。任何人都可以帮助吗?

I am a newbie to Objective-C and this site, so can you point me in the right direction? I need sample code on ambient light sensor and sudden motion sensor on Mac. I really need this code and I didn't find anything on google. Can anyone help please?

推荐答案

Amit Singh的Mac OS X Internals网站有< href =http://osxbook.com/book/bonus/chapter10/sms/>突然运动传感器和环境光传感器

Amit Singh's Mac OS X Internals site has info about the sudden motion sensor and the ambient light sensor.

这里是,用于获取运动传感器数据。

Here's a library for getting the motion sensor data.

这篇关于任何从Mac上的传感器获取数据的示例代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆