Author |
Message |
Topic: MPL3115A2 not working with PIC16F877A |
kufre
Replies: 3
Views: 14238
|
Forum: General CCS C Discussion Posted: Sat Dec 14, 2013 6:47 am Subject: MPL3115A2 not working with PIC16F877A |
Thanks PCM Programmer for your help!
I did exactly as your code and its working now. |
Topic: MPL3115A2 not working with PIC16F877A |
kufre
Replies: 3
Views: 14238
|
Forum: General CCS C Discussion Posted: Thu Dec 12, 2013 7:37 pm Subject: MPL3115A2 not working with PIC16F877A |
Hi Guys!
I have a new MPL3115A2 Temperature/Pressure/Altitude breakout board from Sparkfun as part of my school project. The sensor is a two wire serial (I2C) device. Am interested in reading only ... |
Topic: Shift Left and Right Returning wrong Result. |
kufre
Replies: 2
Views: 4983
|
Forum: General CCS C Discussion Posted: Mon Oct 21, 2013 9:11 am Subject: Shift Left and Right Returning wrong Result. |
Thanks newguy for your help. Its now working as expected. |
Topic: Shift Left and Right Returning wrong Result. |
kufre
Replies: 2
Views: 4983
|
Forum: General CCS C Discussion Posted: Mon Oct 21, 2013 8:57 am Subject: Shift Left and Right Returning wrong Result. |
Hey Guys!
Pls can anyone help me out?
Am performing a bit-wise operation on data but I got a weird result.
Here is the code:
int8 testBitwise(void)
{
unsigned int8 msb, ls ... |
Topic: TMP102 temperature Sensor not working with PIC16F877A |
kufre
Replies: 4
Views: 8742
|
Forum: General CCS C Discussion Posted: Sun Oct 20, 2013 12:37 pm Subject: TMP102 temperature Sensor not working with PIC16F877A |
Thanks for the Link.
I modified and ran the code at http://www.ccsinfo.com/forum/viewtopic.php?t=49713, its detect the TMP102 and return the result as:
Start:
ACK addr: 90
Number of i2c chips ... |
Topic: TMP102 temperature Sensor not working with PIC16F877A |
kufre
Replies: 4
Views: 8742
|
Forum: General CCS C Discussion Posted: Sat Oct 19, 2013 4:38 pm Subject: TMP102 temperature Sensor not working with PIC16F877A |
Am sorry for the mix up. Actually, I connected the ADD0 to +vcc ( from sparkfun sample code).
Thanks for your reply.
I connected the ADD0 to GND and modify the code slightly to check if there is ... |
Topic: TMP102 temperature Sensor not working with PIC16F877A |
kufre
Replies: 4
Views: 8742
|
Forum: General CCS C Discussion Posted: Sat Oct 19, 2013 1:40 pm Subject: TMP102 temperature Sensor not working with PIC16F877A |
Hey Guys!
Am newbie in PIC programming!
I have a new TMP102 breakout board from Sparkfun to read temperature as part of my school project. The sensor is a two wire serial (I2C) device.
I've conne ... |
|