I2C Introduction | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
I2C Introduction
October 26, 2017
6:09 pm
Avatar
leegrayboze
New Member
Members
Forum Posts: 1
Member Since:
October 26, 2017
sp_UserOfflineSmall Offline

I'm trying to set up my first I2C communication with a simple compass / accelerometer.  Based on the Real Time Clock example VI provided with the compiler, I tried to modify the example so that I could communicate with my compass.  But it's not working, so obviously I've got a few things wrong with my code.  All the values come back as "0".

I'm a bit lost in how to fix this.  Would anybody be able to help me understand how to properly connect?

Thank you for your help!

 

Datasheet for compass:

http://www.st.com/content/ccc/.....027543.pdf

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
10
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356