doing accelerometer project using psoc4 m

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am in a fix to how to interface the accelerometer with psoc4m board using i2c. May u help?

0 Likes
6 Replies
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is the example program that comes with the psoc4m.

0 Likes
Anonymous
Not applicable

i tried to execute the code sent by the above link. but it is showing a error that "accelerometer.h" does not exist.

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Try opening the project in Creator 4.0 update1

0 Likes
Anonymous
Not applicable

I am working on a project where i am asking the accelerometer(kxtj2) to give its x,y,z axes values. i am having problem with the code to how to extract the values.

0 Likes
Anonymous
Not applicable

Well, unless you give us information on: What kind of data you are seeing, your project settings/configurations/setup, or what commands you are sending we can't do much 🙂

0 Likes
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Attached is my trial of using only polling mode and printing the value to UART on CY8CKIT-044.

ss180323.JPG

moto