Author |
Message |
Topic: Access General Purpose Registers |
freddayz
Replies: 3
Views: 3495
|
Forum: General CCS C Discussion Posted: Mon Oct 19, 2009 12:09 pm Subject: Access General Purpose Registers |
Thanks for your help...
I did the following:
// Memory type assignment
#byte DATA1 = 0xA0 // define DATA1's address be careful*
#bit m_VCC_5V0 = DATA1.0
#bit m_VCC_3V3 = DATA1.1
#bit m_VC ... |
Topic: Access General Purpose Registers |
freddayz
Replies: 3
Views: 3495
|
Forum: General CCS C Discussion Posted: Thu Oct 15, 2009 5:28 pm Subject: Access General Purpose Registers |
Hello,
Is there a command that I can use to access the data in the general purpose registers of the PIC16F917.
Thanks |
Topic: I2C Problem with MAX6642 sensor and 16F917 |
freddayz
Replies: 3
Views: 5359
|
Forum: General CCS C Discussion Posted: Thu Oct 15, 2009 4:34 pm Subject: I2C Problem with MAX6642 sensor and 16F917 |
That did correct the problem...the other issue I had was with the I2C Slave...it wasn't cfg properly |
Topic: PIC16F917 Port D2 problem |
freddayz
Replies: 5
Views: 6194
|
Forum: General CCS C Discussion Posted: Thu Oct 15, 2009 4:33 pm Subject: PIC16F917 Port D2 problem |
It was the HW...thanks |
Topic: I2C Problem with MAX6642 sensor and 16F917 |
freddayz
Replies: 3
Views: 5359
|
Forum: General CCS C Discussion Posted: Thu Oct 08, 2009 1:21 pm Subject: I2C Problem with MAX6642 sensor and 16F917 |
Thanks alot for your help....will see if that corrects the problem. |
Topic: I2C Problem with MAX6642 sensor and 16F917 |
freddayz
Replies: 3
Views: 5359
|
Forum: General CCS C Discussion Posted: Thu Oct 08, 2009 10:13 am Subject: I2C Problem with MAX6642 sensor and 16F917 |
I am using PIC16F917 with compiler 4.071
I am talking/getting data from MAX6642 Temp Sensor via I2C, I am the Master and Temp Sensor is slave.
I cannot communicate with the device using the foll ... |
Topic: PIC16F917 Port D2 problem |
freddayz
Replies: 5
Views: 6194
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2009 9:34 am Subject: PIC16F917 Port D2 problem |
It appears it may be a HW problem within the PIC...will swap and see results.
Thanks for the help. |
Topic: PIC16F917 Port D2 problem |
freddayz
Replies: 5
Views: 6194
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2009 9:19 am Subject: PIC16F917 Port D2 problem |
Compiler Version:
4.071 |
Topic: PIC16F917 Port D2 problem |
freddayz
Replies: 5
Views: 6194
|
Forum: General CCS C Discussion Posted: Mon Oct 05, 2009 6:06 pm Subject: PIC16F917 Port D2 problem |
I am using the PIC16F917 device with the following code:
// Include files
#include "16F917.h"
#device adc=10
#define CCP_OFF
// PIC Configuration
#use delay ( clock = 8MHZ, ty ... |
|