Author |
Message |
Topic: Another DS1307 driver |
Charles Linquist
Replies: 34
Views: 338124
|
Forum: Code Library Posted: Sun Jun 19, 2005 11:26 pm Subject: Another DS1307 driver |
Don't know where you got that idea. The only chip I use is a 18F8720, although I have used an 18F452 in the past.
I changed the header file to
#include <18F8720.h>
No luck. |
Topic: Another DS1307 driver |
Charles Linquist
Replies: 34
Views: 338124
|
Forum: Code Library Posted: Sun Jun 19, 2005 10:45 pm Subject: Another DS1307 driver |
When I try to compile the code, on the line
#use I2C(master,sda=RTC_SDA, scl=RTC_SCL)
I get the error:
Use parameter is out of range: Not a number PIN_C4
Does anyone know why I would be ... |
Topic: I2C temperature sensors |
Charles Linquist
Replies: 5
Views: 23942
|
Forum: General CCS C Discussion Posted: Wed Jun 15, 2005 6:33 am Subject: I2C temperature sensors |
I have always used analog sensors (LM34), but was thinking of switching to digital so I could get more channels. I really like the analog sensors, since, with averaging, I can get resolution to a ten ... |
Topic: Microchip ICD2 |
Charles Linquist
Replies: 10
Views: 32150
|
Forum: General CCS C Discussion Posted: Mon Jun 13, 2005 12:27 am Subject: Microchip ICD2 |
BUMMER! I think a linker should come before any other compiler update. |
Topic: Microchip ICD2 |
Charles Linquist
Replies: 10
Views: 32150
|
Forum: General CCS C Discussion Posted: Sun Jun 12, 2005 11:15 pm Subject: Microchip ICD2 |
I have to admit that I haven't tried too hard. I tried to use the MPLAB "environment" to build my code, but after several unsuccesful attempts, I gave up.
I should give it a try again, though, be ... |
Topic: I2C temperature sensors |
Charles Linquist
Replies: 5
Views: 23942
|
Forum: General CCS C Discussion Posted: Sat Jun 11, 2005 11:25 pm Subject: I2C temperature sensors |
Since I have to layout a new board for the sensor anyway, I have decided that I'll probably just use a 16F818. It costs less than $2.00. I can use the H/W I2C slave port for the interface to the "mai ... |
Topic: I2C temperature sensors |
Charles Linquist
Replies: 5
Views: 23942
|
Forum: General CCS C Discussion Posted: Fri Jun 10, 2005 10:15 pm Subject: I2C temperature sensors |
Does anyone know of an I2C temperature sensor that either has more than 3 address bits or else has a programmable address?
I need to hang 20 temp sensors on ONE I2C bus, and I want to keep the har ... |
Topic: Another LCD question |
Charles Linquist
Replies: 4
Views: 7501
|
Forum: General CCS C Discussion Posted: Sun Jun 05, 2005 8:32 pm Subject: Another LCD question |
That was it! Thanks! |
Topic: Microchip ICD2 |
Charles Linquist
Replies: 10
Views: 32150
|
Forum: General CCS C Discussion Posted: Sun Jun 05, 2005 1:32 pm Subject: Microchip ICD2 |
In the 'Debug' options of the CCS compiler, they mention the use of the ICD. Do they mean Microchip's ICD2 or CCS's ICD?
I have a Microchip ICD2, and when I tell the CCS compiler to use an ICD, I ... |
Topic: Another LCD question |
Charles Linquist
Replies: 4
Views: 7501
|
Forum: General CCS C Discussion Posted: Sun Jun 05, 2005 10:55 am Subject: Another LCD question |
I changed the code as you suggested. By looking at the .LST file I found another error that I had introduced, and I corrected that.
Still, the code doesn't work. I increased some delays, thinking t ... |
Topic: Another LCD question |
Charles Linquist
Replies: 4
Views: 7501
|
Forum: General CCS C Discussion Posted: Sat Jun 04, 2005 6:24 pm Subject: Another LCD question |
I have been trying to modify Mark's LCDD.c example for my application, but so far without much success.
I'm using a 18F8720
The data lines are H0->H3
R/W is connected to H4
RS is connecte ... |
Topic: EEPROM addressing |
Charles Linquist
Replies: 2
Views: 7072
|
Forum: General CCS C Discussion Posted: Tue May 31, 2005 9:51 pm Subject: EEPROM addressing |
Thanks! |
Topic: EEPROM addressing |
Charles Linquist
Replies: 2
Views: 7072
|
Forum: General CCS C Discussion Posted: Tue May 31, 2005 5:18 pm Subject: EEPROM addressing |
In the CCS manual, it states that in the syntax of the
write_eeprom (address,value)
command on page 194, both "address" and "value" are of type int8
Is this an error? I need to address EE ... |
Topic: Individual port bits |
Charles Linquist
Replies: 15
Views: 20067
|
Forum: General CCS C Discussion Posted: Fri May 27, 2005 9:01 am Subject: Individual port bits |
Thanks! Your answers and code were very helpful. |
Topic: Individual port bits |
Charles Linquist
Replies: 15
Views: 20067
|
Forum: General CCS C Discussion Posted: Thu May 26, 2005 12:34 pm Subject: Individual port bits |
Please excuse me if I'm dense, but I have looked through the manual, and I can't find how to do something.
I would like to read all bits of a port at one time - (map them to a variable), and then t ... |
|