CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 72 matches
CCS Forum Index
Author Message
  Topic: Character String to Hex
kel

Replies: 4
Views: 10573

PostForum: General CCS C Discussion   Posted: Sun Jul 30, 2006 6:36 pm   Subject: The improved version.
This function checks for the difference of start and end position. if it's more than two, it displays error message. This way the mn cannot be more than 2 especially if data is required as follows:
d ...
  Topic: Character String to Hex
kel

Replies: 4
Views: 10573

PostForum: General CCS C Discussion   Posted: Thu Jul 27, 2006 6:50 pm   Subject: This may help
The following function works fine but it has got its side effect.
void String2Hex(char *arr, byte StartPos, byte EndPos){
byte counter;
byte cnt;
...
  Topic: This function returns a digit!
kel

Replies: 9
Views: 10945

PostForum: General CCS C Discussion   Posted: Sat Jul 22, 2006 4:24 am   Subject: Hi Programmer?
Mate i type so fast that i make alot of errors most of the time. But lets concentrate on the good side of the book.It's good that good people are out there to points out these errors.
Besides, the fo ...
  Topic: This function returns a digit!
kel

Replies: 9
Views: 10945

PostForum: General CCS C Discussion   Posted: Fri Jul 21, 2006 12:13 am   Subject: This function returns a digit!
The following function returns a single digit from say:12345332.Someone was looking for a similar function before and hope this help.


#include "stdio.h"
byte Return_A_Single_Digit( ...
  Topic: Digital voice recorder 3secs record and playback!
kel

Replies: 1
Views: 5381

PostForum: General CCS C Discussion   Posted: Tue Apr 04, 2006 8:10 pm   Subject: Digital voice recorder 3secs record and playback!
Guys I need your help.I'm working on my school project which is on building a digital voice recorder.It's suppose to record when a button B0 is pressed,playback when button B1 is pressed and reset whe ...
  Topic: LCD scrolling a Message!!
kel

Replies: 4
Views: 13098

PostForum: General CCS C Discussion   Posted: Sun Mar 26, 2006 9:13 pm   Subject: Guess this should work now!!
I guess this should work now.I haven't tried it yet.
void scroll_Msg(unsigned char rowz, char Msg[]){
char Tmp_Msg[21];
unsigned in k,flag,Msg_Head;
flag=Msg_Head=0 ...
  Topic: LCD scrolling a Message!!
kel

Replies: 4
Views: 13098

PostForum: General CCS C Discussion   Posted: Sun Mar 26, 2006 3:03 am   Subject: Thanks PCM Programmer!
I believe you are highly qualified and respected member of this forum.Thanks you and those who have attempted.
Y couldn't my code work?
  Topic: LCD scrolling a Message!!
kel

Replies: 4
Views: 13098

PostForum: General CCS C Discussion   Posted: Sat Mar 25, 2006 10:34 pm   Subject: LCD scrolling a Message!!
the following function give an error when called from main().The error measage is"ATTEMPT TO CREATE CONST TO POINTER SPRINTF".
All I want is a function to scroll a measage. This function ...
  Topic: LM335 reading value incorrect.. any help?
kel

Replies: 12
Views: 20740

PostForum: General CCS C Discussion   Posted: Thu Mar 16, 2006 11:08 pm   Subject: Right!
He is right,you don't need the capacitor.I worked on lm335 too a few weeks ago and you should be able to get what i posted.I didn't connect any capacitor and i through many helps from this forum was a ...
  Topic: Simple Analogue problem
kel

Replies: 6
Views: 19805

PostForum: General CCS C Discussion   Posted: Wed Mar 08, 2006 9:09 pm   Subject: Thanks guys
The integrator reset is unpredictable thatz why i'm seeking for assistance.the question is how frequeen do i have to sample the signal?
Surprised
  Topic: RTOS not working?
kel

Replies: 11
Views: 11095

PostForum: General CCS C Discussion   Posted: Tue Mar 07, 2006 7:06 am   Subject: virtual tool looks kind of cool
Is your simulator(virtual tool) free.if it's could you please post the link for downloading.I kind of like.. Shocked
  Topic: Simple Analogue problem
kel

Replies: 6
Views: 19805

PostForum: General CCS C Discussion   Posted: Tue Mar 07, 2006 6:48 am   Subject: sampling the waveform!!
http://i2.tinypic.com/qxuweq.jpg.DIV_32 which meaning that it will be sampling every 2us.Is this enough?can anyone help me how to use ADC to do this!
Any idea?
Twisted Evil
  Topic: Adc and set_trisx() problem
kel

Replies: 0
Views: 5161

PostForum: General CCS C Discussion   Posted: Tue Feb 28, 2006 8:34 pm   Subject: Adc and set_trisx() problem
guys i'm having a signal whose period i s 60ms.Is adc with DIV32 enough to sample the signal?The signal rise and falls exponentially?
i'm using pic16f877a...
secondly,when i set Adc_setport(AN0);
h ...
  Topic: Simple Analogue problem
kel

Replies: 6
Views: 19805

PostForum: General CCS C Discussion   Posted: Mon Feb 27, 2006 7:19 pm   Subject: Simple Analogue problem
C:\Documents and Settings\n4849892\Desktop\kel.gif
  Topic: Bargraph on LCD & Pic16f877a
kel

Replies: 3
Views: 7347

PostForum: General CCS C Discussion   Posted: Mon Feb 20, 2006 9:29 pm   Subject: 16f877a bargraph problem
Indeed the problem is with "remnants" left over as the values decreases.
By the way did you define bar[] as static global?
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group