Author |
Message |
Topic: ADC on 16F689 channel 13 |
jspencer
Replies: 3
Views: 6020
|
Forum: General CCS C Discussion Posted: Mon Oct 23, 2006 9:30 am Subject: ADC on 16F689 channel 13 |
PCM that is correct. Since I do not have a constant Voltage supply (3V coin cell) we are going to use the ratio of the VP6 to scale the ADC channels readings appropiately. After doing a little more ... |
Topic: ADC on 16F689 channel 13 |
jspencer
Replies: 3
Views: 6020
|
Forum: General CCS C Discussion Posted: Fri Oct 20, 2006 4:34 pm Subject: ADC on 16F689 channel 13 |
Just a quick question. I need to use channel 13 on the 16F689 as a comparative reference. What do I use for setting up the port when calling:
setup_adc_ports(sAN0 | VSS_VDD);
sAN13 is n ... |
Topic: problem with pointer to an array |
jspencer
Replies: 18
Views: 21295
|
Forum: General CCS C Discussion Posted: Fri Oct 20, 2006 11:09 am Subject: problem with pointer to an array |
int16 nal;
read_eeprom_block(&nal, 2, NEXT_ADDRESS_LOCATION);
void read_eeprom_block(int8 *mem_address, int8 num_bytes_2_read, int16 address_location) {
int8 i;
... |
Topic: I2C Clk and Data lines |
jspencer
Replies: 3
Views: 4883
|
Forum: General CCS C Discussion Posted: Tue Oct 10, 2006 4:46 pm Subject: I2C Clk and Data lines |
Thanks again PCM. That worked like a champ! |
Topic: I2C Clk and Data lines |
jspencer
Replies: 3
Views: 4883
|
Forum: General CCS C Discussion Posted: Mon Oct 09, 2006 12:22 pm Subject: I2C Clk and Data lines |
Thanks PCM. That makes sense now. I've got the code space to add it in, so I'll give it a shot. If I have any questions I'll hollar. It would be a lot easier if the user would just RTFM! Reading ... |
Topic: I2C Clk and Data lines |
jspencer
Replies: 3
Views: 4883
|
Forum: General CCS C Discussion Posted: Mon Oct 09, 2006 10:47 am Subject: I2C Clk and Data lines |
Just want to make sure that my thinking is correct that once the clock and data lines are defined there is no way to swap them. Our product depends on the user to make contact with the correct orient ... |
Topic: need help with TC74 digital thermal sensor |
jspencer
Replies: 15
Views: 43131
|
Forum: General CCS C Discussion Posted: Mon Sep 11, 2006 1:11 pm Subject: need help with TC74 digital thermal sensor |
My buzzer still beeps at (temp==-1) but it doesnot beep at (temp>0) as it did with temp datatype as 'int8'.
void main()
{
signed int8 temp;
set_tris_c(0x00); //Buzzer out ... |
Topic: How to change usb description header from 1.1 to 2.0? |
jspencer
Replies: 1
Views: 3777
|
Forum: General CCS C Discussion Posted: Tue Aug 15, 2006 3:16 pm Subject: How to change usb description header from 1.1 to 2.0? |
Don't hold me to this because I am not totally sure, but in the usb_desc_xxx.h file there should be some lines that look something like this:
const char USB_DEVICE_DESC[USB_DESC_DEVICE_ ... |
Topic: MCP9700 C library |
jspencer
Replies: 3
Views: 7455
|
Forum: General CCS C Discussion Posted: Mon Aug 14, 2006 8:54 am Subject: MCP9700 C library |
Thanks for the info and taking the time to look at the datasheet. I should have been a little more specific in what I was looking for. I was looking for the calibration and temperature compensation ... |
Topic: question on PIC16F876 |
jspencer
Replies: 2
Views: 21253
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Aug 11, 2006 4:18 pm Subject: question on PIC16F876 |
It would be better if you posted this in the General CCS Discussion forum. Might try over there. |
Topic: MCP9700 C library |
jspencer
Replies: 3
Views: 7455
|
Forum: General CCS C Discussion Posted: Fri Aug 11, 2006 12:56 pm Subject: MCP9700 C library |
I'm looking at using the MCP9700. Does anyone know if there is a C library already out there that has been written? It can be in either CCS C or Microchip C. I've got the one in assembly and just w ... |
Topic: impossible to use RB0 as interrupt |
jspencer
Replies: 12
Views: 15554
|
Forum: General CCS C Discussion Posted: Thu Aug 10, 2006 3:50 pm Subject: impossible to use RB0 as interrupt |
First thing I would try is to use the project wizard as it will help you setup your project with the options that you need. This is what I got from the project wizard with just a couple of lines that ... |
Topic: USB .INF file |
jspencer
Replies: 11
Views: 15783
|
Forum: General CCS C Discussion Posted: Thu Aug 10, 2006 3:34 pm Subject: USB .INF file |
C:\~\PICC\Drivers\cdc_NTXP.inf is the path to the file. If it is not there then ask CCS support to email you the driver file. |
Topic: 18F2455 ICD-U40 Error |
jspencer
Replies: 0
Views: 16351
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Jul 28, 2006 4:38 pm Subject: 18F2455 ICD-U40 Error |
I keep getting this error when trying to program a 18F2455.
ICD Error
Unknown PIC12/16 device, ID: 003F if this is a valid id, then make sure the algorithm inside chipedit is set correctly. Make ... |
Topic: Problem with CDC driver |
jspencer
Replies: 10
Views: 12755
|
Forum: General CCS C Discussion Posted: Thu Jul 13, 2006 4:19 pm Subject: Problem with CDC driver |
C3/Vusb needs a 0.47uF cap on it. This is for the USB voltage regualtor. |
|