CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 3 matches
CCS Forum Index
Author Message
  Topic: LSM303DLH + PIC18F2550
joint931

Replies: 9
Views: 21708

PostForum: General CCS C Discussion   Posted: Wed May 11, 2011 12:47 pm   Subject: LSM303DLH + PIC18F2550
Make a I2C level translator between the units, but get the same error (( Maybe a problem in the code:

#include <18F2550.h>
#device ADC=10
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,P ...
  Topic: LSM303DLH + PIC18F2550
joint931

Replies: 9
Views: 21708

PostForum: General CCS C Discussion   Posted: Thu May 05, 2011 3:39 am   Subject: Re: LSM303DLH + PIC18F2550
to Ttelmah:
1. Yes, I have a pull-up resistors (10kOhm) (LSM303DLH electrical connection 1 - recommended for I2C fast mode - page 20 from LSM303DLH documentation)

2. I have connected the pic18f255 ...
  Topic: LSM303DLH + PIC18F2550
joint931

Replies: 9
Views: 21708

PostForum: General CCS C Discussion   Posted: Tue May 03, 2011 12:49 am   Subject: LSM303DLH + PIC18F2550
I have a sensor accelerometer/magnetometer LSM303DLH (slave) linked in I2C to a pic18F2550(master).
#include <18F2550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group