0
이 샘플 코드를 사용하고 있습니다. 어디로 가져갈 지 모르겠습니다. Visual Studio 2008, windows mobile 6 SDK를 사용하고 있습니다. 나는 가속도계를 테스트하고 싶지만 어디에서 코드를 작성해야할지 모르겠습니다. 시작은 예를 들어 form1. 새로운 C# 파일을 기존의 새로운 프로그램> new program.cs로 만들고 이것을 수행합니까 (아래 참조)?삼성 Acclerometer를 사용하는 경우
#include "smiAccelerometer.h"
SmiAccelerometerVector accel;
// get the acceleration vector containing X, Y, Z components
if (SmiAccelerometerGetVector(&accel) == SMI_SUCCESS)
{
// Successfully got acceleration.
// Use accel.x, accel.y and accel.z in your application
}
else
{
// failed to get the acceleration
}
무엇을하려고합니까 ?? 가속도계 입력을 사용하는 앱 개발 ?? – TheCodeArtist