Author |
Message |
Topic: Search text from a string? |
glenjoy
Replies: 7
Views: 10255
|
Forum: General CCS C Discussion Posted: Sun Jan 16, 2011 7:20 am Subject: Search text from a string? |
If I have a string say, *string="jdslkajdsldjsladjABCDEFkjdfsljdsalk" and I want to check if ABCDEF do exists in that string, what is the best algorithm to use? |
Topic: Keypad and DS1302 Question |
glenjoy
Replies: 1
Views: 3612
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 8:24 am Subject: Keypad and DS1302 Question |
I will be connect my keypad tp PORT D, it is a 4x3 keypad, do I need to put pull-up resistor on my ROWS (A,B,C and D)?
Another question, I am using DS1302.C driver, when I initialized rtc_init(), t ... |
Topic: LCD driver question |
glenjoy
Replies: 5
Views: 5421
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 8:20 am Subject: LCD driver question |
This is the LCD.C that comes with my CCS, is this the new one or the old one?
///////////////////////////////////////////////////////////////////////////
//// LCDD.C ... |
Topic: LCD driver question |
glenjoy
Replies: 5
Views: 5421
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 1:29 am Subject: LCD driver question |
I am using CCS ver. 4.084 LCD.C driver, I am using Port B for the LCD, are there any other changes I must do aside from;
// Un-comment the following define to use port B
// #define use_portb_lcd T ... |
Topic: LCD driver question |
glenjoy
Replies: 5
Views: 5421
|
Forum: General CCS C Discussion Posted: Tue Feb 10, 2009 8:54 am Subject: LCD driver question |
I am trying to debug my hardware.
I have some subroutines bebore executing the lcd_init(); by CCS, my question is, when I am trying to execute lcd_init(); without connecting my LCD to the micro, th ... |
Topic: kbd.c problem |
glenjoy
Replies: 7
Views: 9940
|
Forum: General CCS C Discussion Posted: Sat Jan 19, 2008 8:52 pm Subject: kbd.c problem |
My post in this thread has an explanation of the keypad connections.
http://www.ccsinfo.com/forum/viewtopic.php?t=21852
Mark's post in this thread explains how to interpret the CCS #define
statem ... |
Topic: kbd.c problem |
glenjoy
Replies: 7
Views: 9940
|
Forum: General CCS C Discussion Posted: Sat Jan 19, 2008 9:13 am Subject: kbd.c problem |
Search the forum for kbd.c and you will find many posts on the subject asking the same question you are.
It is best to do a little re(search) in this forum before asking a question. A lot of ques ... |
Topic: kbd.c problem |
glenjoy
Replies: 7
Views: 9940
|
Forum: General CCS C Discussion Posted: Sat Jan 19, 2008 8:57 am Subject: kbd.c problem |
How to connect the 4x3 keypad to a pic using the kbd.c, the code does not say which i/o is for the column or for the row.
Thanks. |
Topic: Need Help in Timer Interrupts, CCS C and PIC16F628A |
glenjoy
Replies: 6
Views: 8589
|
Forum: General CCS C Discussion Posted: Sun Nov 05, 2006 2:14 am Subject: Need Help in Timer Interrupts, CCS C and PIC16F628A |
This is not a tachometer, this is a chronometer, it measures the speed of a BB bullet.
Thanks.
Glenjoy |
Topic: Need Help in Timer Interrupts, CCS C and PIC16F628A |
glenjoy
Replies: 6
Views: 8589
|
Forum: General CCS C Discussion Posted: Sat Nov 04, 2006 4:28 pm Subject: Need Help in Timer Interrupts, CCS C and PIC16F628A |
I do not know how to use CCP. |
Topic: Need Help in Timer Interrupts, CCS C and PIC16F628A |
glenjoy
Replies: 6
Views: 8589
|
Forum: General CCS C Discussion Posted: Sat Nov 04, 2006 8:57 am Subject: Need Help in Timer Interrupts, CCS C and PIC16F628A |
I am making a speed measurement device.
Speed ranges from 250 fps to 800 fps, so timing is really critical.
I tried using this kind of loop but seems creates some kind of delay, attached is my o ... |
Topic: Proteus and CCS COFF File |
glenjoy
Replies: 2
Views: 6194
|
Forum: General CCS C Discussion Posted: Mon Aug 08, 2005 9:25 pm Subject: Proteus and CCS COFF File |
Posted: 09 Aug 2005 1:48 Post subject: Proteus and COFF File
--------------------------------------------------------------------------------
I am simulating my sourcecode using Proteu ... |
Topic: C Algorithm Help Needed |
glenjoy
Replies: 4
Views: 6904
|
Forum: General CCS C Discussion Posted: Mon Aug 08, 2005 12:25 am Subject: C Algorithm Help Needed |
I have these data, it is formatted as [0x0D][0x0A][message][0x0D][0x0A][message][0x0D][0x0A] and [0x0D][0x0A][message][0x0D][0x0A]
What I need is to get all data and stop once the last 0x0A is rec ... |
Topic: Capturing ECHO and OK of a modem in AT commands |
glenjoy
Replies: 7
Views: 9066
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2005 10:50 am Subject: Capturing ECHO and OK of a modem in AT commands |
I got now the echo in display, my problem now is capturing the OK reply from the modem.
When I execute AT<CR>, I can now echo them on the LCD, now after the <CR>, the modem will respond ... |
Topic: Capturing ECHO and OK of a modem in AT commands |
glenjoy
Replies: 7
Views: 9066
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2005 8:54 am Subject: Capturing ECHO and OK of a modem in AT commands |
Hi,
I used the printf....., but there is no any text that was printed, and I know my format is correct. |
|