Author |
Message |
Topic: low powering by Idle mode |
Felix Althaus
Replies: 6
Views: 18964
|
Forum: General CCS C Discussion Posted: Sun Mar 12, 2006 6:33 am Subject: low powering by Idle mode |
Hello
@ Ttelmah:
About this Motorola 78LC05: I searched Google, some semiconductor catalogues, etc. but I can't find the datasheet or some place to buy a device.
Is this an older part number (R ... |
Topic: ADC using external Reference |
Felix Althaus
Replies: 4
Views: 8964
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 9:55 am Subject: ADC using external Reference |
Hello
to the value of reference I should use
That depends on your analog input volatage range.
how to configure the PIC to use this reference
Should be in the datasheet or the CCSC manual
... |
Topic: Problem with I/O |
Felix Althaus
Replies: 4
Views: 8348
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 9:49 am Subject: Problem with I/O |
Hello
GP0 and GP1 are the comparator inputs. I think you have to first switch off the comparator module to use this pins as I/O.
Happens to me with a PIC12F675...
@ PCM Programmer: I'm sorr ... |
Topic: OT: laser/ultrasonic rangefinder module |
Felix Althaus
Replies: 6
Views: 9303
|
Forum: General CCS C Discussion Posted: Sun Sep 18, 2005 5:06 am Subject: OT: laser/ultrasonic rangefinder module |
Yeah, my calculation is for US, I'm sorry, I should' ve mention that...
I'm studying etech and we use c for any propagation speed. We get it from the context, if it means sound, light or whatever.
W ... |
Topic: OT: laser/ultrasonic rangefinder module |
Felix Althaus
Replies: 6
Views: 9303
|
Forum: General CCS C Discussion Posted: Sun Sep 18, 2005 3:20 am Subject: OT: laser/ultrasonic rangefinder module |
Hello
...at least 100 measurements per second...
Could be a bit difficult:
c = 340m/s
round-trip distance: s = 2*3m = 6m
round-trip time: s/v = ~17ms
=> maximum measurement frequ: ~ ... |
Topic: variable |
Felix Althaus
Replies: 4
Views: 8656
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2005 1:38 pm Subject: variable |
Hello
That statement about register values at reset is at page 38:
Some registers are not reset in any way; they are
unknown on POR and unchanged in any other reset.
Most other registers are ... |
Topic: signed int mult => unsigned result =>? |
Felix Althaus
Replies: 2
Views: 5432
|
Forum: General CCS C Discussion Posted: Sun Sep 04, 2005 12:04 pm Subject: signed int mult => unsigned result =>? |
Hello
I have some problems with signed integer multiplication:
I multiply two signed ints together, to get a signed long, but the result looks like it's treatend unsigned internally:
#include ... |
Topic: need help...an easy problem |
Felix Althaus
Replies: 5
Views: 8013
|
Forum: General CCS C Discussion Posted: Sun Apr 17, 2005 8:25 am Subject: need help...an easy problem |
Hi
I agree, the setup_tris_b(0) is wrong if you want to use the pin as an input. But that isn't your problem, because unless you'r using fast_io (which you don't) the compiler handles the tris bits ... |
Topic: need help...an easy problem |
Felix Althaus
Replies: 5
Views: 8013
|
Forum: General CCS C Discussion Posted: Sun Apr 17, 2005 3:21 am Subject: need help...an easy problem |
Hello
if(solbas == 0)
solbas is defined as PIN_B0 and PIN-B0 is defined as a constant value in the header file (look at it). S you'r comparing a const to another one, with the never changing re ... |
Topic: combined register reading |
Felix Althaus
Replies: 7
Views: 12509
|
Forum: General CCS C Discussion Posted: Fri Mar 18, 2005 1:09 pm Subject: combined register reading |
Hello
It's not exactly the same as orginally asked, but something similar:
What should I do, if the two bytes of a long aren't in consecutive oder. For example I want to do this:
long any_var ... |
Topic: Erratic Timer0? (shoud be easy answer) |
Felix Althaus
Replies: 15
Views: 32523
|
Forum: General CCS C Discussion Posted: Sat Aug 28, 2004 4:39 am Subject: Erratic Timer0? (shoud be easy answer) |
Hi
I forgot to mention that I'm using a 16F part... I think thats still 8bit no ?
Yes, thats true, TMR0 (or the RTCC) is 8Bits.
Look at your list file to see what setup_timer_0(RTCC_INTERNAL) w ... |
Topic: ADC for 12F675 |
Felix Althaus
Replies: 5
Views: 15426
|
Forum: General CCS C Discussion Posted: Mon May 31, 2004 1:01 pm Subject: ADC for 12F675 |
Hello
What do you mean with "it doesn't work"? Does it compile? What exactly doesn't work, what results do you get?
Felix |
Topic: variables defenition. |
Felix Althaus
Replies: 1
Views: 8915
|
Forum: General CCS C Discussion Posted: Sat May 08, 2004 2:22 am Subject: variables defenition. |
Hi
unsigned char is from 0 to 255
signed char is from -128 to +127
Felix |
Topic: picstart plus instalation |
Felix Althaus
Replies: 3
Views: 13089
|
Forum: General CCS C Discussion Posted: Tue Mar 23, 2004 4:39 am Subject: picstart plus instalation |
Hi
I think you selected a PIC in MPLAB that is to new for your PS+ with version 2.1. With "device" it means the PIC device (it should be shown in the MPLAB status bar).
To program your PIC, you ha ... |
Topic: How to Reset my MCU from a RS-232 signal (DTR, etc.) |
Felix Althaus
Replies: 7
Views: 19841
|
Forum: General CCS C Discussion Posted: Sun Mar 21, 2004 2:42 pm Subject: How to Reset my MCU from a RS-232 signal (DTR, etc.) |
Hi
How do you want to reset your PIC? By hardware signal or by a received RS232 command?
Can you specify your problem a little bit more?
Felix |
|