Author |
Message |
Topic: a probme: ICDWarn0020: Invalid target device id |
pom
Replies: 4
Views: 8433
|
Forum: General CCS C Discussion Posted: Fri May 04, 2007 4:24 am Subject: a probme: ICDWarn0020: Invalid target device id |
Hello IIDD,
I know that error. Unfortunately I cannot exactly remember what to do. But try this:
Use the "MPLAB ICD2 Wizard" (in "Programmer") and chose the power setting, t ... |
Topic: Dimension of voltage divider |
pom
Replies: 7
Views: 6997
|
Forum: General CCS C Discussion Posted: Fri May 04, 2007 4:02 am Subject: Dimension of voltage divider |
Hello,
thanks for help. I just tried to use a divider of 390k and 220k in a temporary circuit. It was powered by a battery an seemed to work well. Unfortunately I couldn't change the voltage level ... |
Topic: Dimension of voltage divider |
pom
Replies: 7
Views: 6997
|
Forum: General CCS C Discussion Posted: Mon Apr 30, 2007 7:32 am Subject: Dimension of voltage divider |
Hello guys,
I work with a PIC12F683 and try to measure a voltage. It's very important that the circuit needs low energy.
My problem: For the voltage divider I chose 220 ohm and 390 ohm. Unfortun ... |
Topic: Programming the 18LF2620 |
pom
Replies: 1
Views: 4584
|
Forum: General CCS C Discussion Posted: Tue Mar 28, 2006 2:06 am Subject: Programming the 18LF2620 |
Hello,
I want the 18LF2620 to get started. I have already worked with 18F458 and 18F258. I am using the bootloader, which PICC has in its package. Now I changed the used device to 18F2620 (include ... |
Topic: ds18s20 with active pull-up and active pull-down |
pom
Replies: 4
Views: 6373
|
Forum: General CCS C Discussion Posted: Mon Aug 22, 2005 6:03 am Subject: ds18s20 with active pull-up and active pull-down |
hello,
the circuit for the active pull-up is described in the application note 132 of maxim. Look at figure number 8. The connection between ds1820 and PIC can be about 600 metres long.
But I do ... |
Topic: ds18s20 with active pull-up and active pull-down |
pom
Replies: 4
Views: 6373
|
Forum: General CCS C Discussion Posted: Mon Aug 22, 2005 1:39 am Subject: ds18s20 with active pull-up and active pull-down |
I edited the text but the post was not set to the top of the frum, so I have to lift it by myself. |
Topic: needs ds1820 working c codes |
pom
Replies: 18
Views: 27231
|
Forum: General CCS C Discussion Posted: Thu Aug 18, 2005 12:32 am Subject: needs ds1820 working c codes |
I think you already have a complete working code.
Did you try to define a ONE_WIRE_PIN in your code when you got the error:
Undefined indentifier ONE_WIRE_PIN ?
I got the same error and I just ... |
Topic: ds18s20 with active pull-up and active pull-down |
pom
Replies: 4
Views: 6373
|
Forum: General CCS C Discussion Posted: Wed Aug 17, 2005 6:32 am Subject: ds18s20 with active pull-up and active pull-down |
Hello,
I already worked with an one-wire-sensor of Dallas. But now I wanted to use a longer wire to connect the ds18s20 and so I used the another circuit, which works with an active pull-up and an ... |
Topic: Output on Port A? |
pom
Replies: 3
Views: 6580
|
Forum: General CCS C Discussion Posted: Wed Aug 17, 2005 1:34 am Subject: Output on Port A? |
I see the problem.
Now I was successful in measuring the voltages at pins A0, A1, A2. Unfortunately I didn't know, that there would be a problem with choosing these three for measuring and pin A3 a ... |
Topic: needs ds1820 working c codes |
pom
Replies: 18
Views: 27231
|
Forum: General CCS C Discussion Posted: Tue Aug 16, 2005 7:45 am Subject: needs ds1820 working c codes |
I know your problem.
The error that there is missing the ONE_WIRE_PIN means, that you first have to say, which pin your ds1820 is connected to. You have to add a line
#define ONE_WIRE_PIN PIN_C ... |
Topic: Output on Port A? |
pom
Replies: 3
Views: 6580
|
Forum: General CCS C Discussion Posted: Tue Aug 16, 2005 5:05 am Subject: Output on Port A? |
Hello,
I am using the 18F258 and I want to measure voltage and use some pins of port A as outputs.
I know how to measure the voltages. I want to use no reference but the normal levels.
How to ... |
Topic: Compare two bytes with AND |
pom
Replies: 6
Views: 8835
|
Forum: General CCS C Discussion Posted: Thu Jun 09, 2005 7:12 am Subject: It works!!! |
Thanks for help! I am really happy because of finishing my project by using the bit_test-function. I have never heard of it before. I think, I will never forget it anymore.
Have a nice day, pom |
Topic: Compare two bytes with AND |
pom
Replies: 6
Views: 8835
|
Forum: General CCS C Discussion Posted: Wed Jun 08, 2005 11:02 am Subject: It does not work. |
Hello,
I tried what Ttelmah told me to do. This is my code:
x = (rx_data
But it does not work. I send messages to the PIC with a PEAKCan-module. This is, what happens:
Message hexadecima ... |
Topic: Compare two bytes with AND |
pom
Replies: 6
Views: 8835
|
Forum: General CCS C Discussion Posted: Mon Jun 06, 2005 6:30 am Subject: Compare two bytes with AND |
Hello guys,
I want to compare two bytes with each other to know, if they have one of them has a 1 or a 0 in a special bit.
By can-bus I get a byte as information, if various things are switched ... |
Topic: BOOK |
pom
Replies: 8
Views: 13957
|
Forum: General CCS C Discussion Posted: Fri May 06, 2005 2:03 am Subject: BOOK |
Hello,
is in the book of Barnett, Cox,.. an example for using the can-bus?
Best wishes, pom |
|