Author |
Message |
Topic: Question about light sensor ISL29004 and PIC18F2480 |
Keith1130
Replies: 9
Views: 8724
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 9:22 pm Subject: Question about light sensor ISL29004 and PIC18F2480 |
hi, I use the CCS C compiler. I tried to test the circuit with only one light sensor. However, the output is not expected since the output of PIN_A0 and PIN_A2 are outputting high, which means the v ... |
Topic: Question about light sensor ISL29004 and PIC18F2480 |
Keith1130
Replies: 9
Views: 8724
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 3:00 am Subject: Question about light sensor ISL29004 and PIC18F2480 |
Thanks, PCM programmer. However, after I changed the clock to 16MHz, the PIN_A0 and PIN_A1 were both outputting low. I don't really know what happened because I have double checked the wiring to mak ... |
Topic: Question about light sensor ISL29004 and PIC18F2480 |
Keith1130
Replies: 9
Views: 8724
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 1:37 am Subject: Question about light sensor ISL29004 and PIC18F2480 |
Hi, i finished the driver of isl29004 and write a program to communicate 4 light sensors with PIC18F2480. However, when I used MPLAB ICD 2 debugger to debug the program, I cannot read the values of t ... |
Topic: multiple 18B20 - need working example - i'm stupid in 1-wire |
Keith1130
Replies: 10
Views: 27672
|
Forum: General CCS C Discussion Posted: Sat Nov 07, 2009 11:08 am Subject: multiple 18B20 - need working example - i'm stupid in 1-wire |
Hi, Kenny, how can you show the outputs in computer? I am using one DS1822 communicated with PIC18F2480. I have finished the driver code, but when I try to debug it, I don't know how to get the outpu ... |
Topic: Question about how to output high to a PIN in PIC18F2480 |
Keith1130
Replies: 3
Views: 10049
|
Forum: General CCS C Discussion Posted: Fri Nov 06, 2009 6:24 pm Subject: Question about how to output high to a PIN in PIC18F2480 |
I was trying to compile the code in MPLAB after i changed
while (1)
{
temperature = ds1822_read();
if (temperature < 30){
output_high(PIN_A0);
ou ... |
Topic: Question about how to output high to a PIN in PIC18F2480 |
Keith1130
Replies: 3
Views: 10049
|
Forum: General CCS C Discussion Posted: Sat Oct 31, 2009 3:42 pm Subject: Question about how to output high to a PIN in PIC18F2480 |
I want to use communicate the temperature sensor DS1822 with PIC18F2480 to output a signal to two LEDs. When the temperature is lower than 30 degree, the first LED lights. Otherwise, the second LED ... |
|