Author |
Message |
Topic: LSM303DLH + PIC18F2550 |
joint931
Replies: 9
Views: 21708
|
Forum: 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
|
Forum: 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
|
Forum: 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
... |
|