Author |
Message |
Topic: how manage strings? |
filjo
Replies: 8
Views: 7711
|
Forum: General CCS C Discussion Posted: Sun May 04, 2008 4:22 pm Subject: how manage strings? |
Hi
Douglas Kennedy, thanks for your pm. Tomorow I check with more atention you program.
I never used interrupts and I dont understand mutch about this...
I will try go yours ideias and use in ... |
Topic: Problem with Multiple ADC channels |
filjo
Replies: 7
Views: 8050
|
Forum: General CCS C Discussion Posted: Sun May 04, 2008 9:07 am Subject: Problem with Multiple ADC channels |
Hi
PIC dont meter current but if you need meter current is easy...
Put on your circuit one resistor very very litle +-0.1Ohm and use for your calcs U=R*I and you have I=U/R, you have voltage and ... |
Topic: how manage strings? |
filjo
Replies: 8
Views: 7711
|
Forum: General CCS C Discussion Posted: Fri May 02, 2008 1:42 pm Subject: how manage strings? |
sorry but this not working
this is my code:
#include "main.h"
#include "string.h"
#build(reset=0x200)
#build(interrupt=0x208)
#org 0x0000,0x01ff
void bootloader() {
# ... |
Topic: how manage strings? |
filjo
Replies: 8
Views: 7711
|
Forum: General CCS C Discussion Posted: Thu May 01, 2008 6:05 am Subject: how manage strings? |
Hi
how I can get from this string some parts?
,161229.000,A,3723.2475,N,12158.3416,W,0.13,309.62,120598,,*10
in this case I need put on variable for exemple "3723.2475"
what is the ... |
Topic: how manage strings? |
filjo
Replies: 8
Views: 7711
|
Forum: General CCS C Discussion Posted: Wed Apr 30, 2008 4:05 pm Subject: how manage strings? |
Hi
I try make a program where I find one string and I need copy some parts.
for example in my program I have this:
while(1)
{
i=0;
c=fgetc(gpsport);
if (c == 'C ... |
Topic: Problem with 4x4 Keypad Scan (Without Pull-up) |
filjo
Replies: 20
Views: 23414
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 6:54 pm Subject: Problem with 4x4 Keypad Scan (Without Pull-up) |
Hi
now I understand... thanks
best regards PCM programmer, you are a crak ;) |
Topic: Problem with 4x4 Keypad Scan (Without Pull-up) |
filjo
Replies: 20
Views: 23414
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 3:13 pm Subject: Problem with 4x4 Keypad Scan (Without Pull-up) |
Hi
I dont know how I can thanks your help.... thanks
one question:
KBD.C for my case stay:
// Un-comment the following define to use port B
// #define use_portb_kbd TRUE
// Make su ... |
Topic: Problem with 4x4 Keypad Scan (Without Pull-up) |
filjo
Replies: 20
Views: 23414
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 12:41 pm Subject: Problem with 4x4 Keypad Scan (Without Pull-up) |
Hi PCM programmer thanks for help me ...
I configure KBDD.c in my case stay iqual because I use PIC18F452 and need connect keypad to port D.
but I my problem continue... where I connect my ke ... |
Topic: Problem with 4x4 Keypad Scan (Without Pull-up) |
filjo
Replies: 20
Views: 23414
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 10:07 am Subject: Problem with 4x4 Keypad Scan (Without Pull-up) |
Hi
I try make one program using keypad 3x4 and I like use ports D I used for example "c = kbd_getc(c)" I used driver KBDD.c
but where I connect my keypad to PIC ports?
for example, ... |
|