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 20 matches
CCS Forum Index
Author Message
  Topic: strange problem regarding internal EEPROM
syeda amna

Replies: 1
Views: 3576

PostForum: General CCS C Discussion   Posted: Mon Apr 08, 2013 2:46 am   Subject: strange problem regarding internal EEPROM
I am facing a strange problem. I want to test the internal eeprom of the controller. I made a test program. When i entered a number which is less than 11 digits like 1233456 it works well. if the ente ...
  Topic: Problem in comparing two strings Strcmp()
syeda amna

Replies: 13
Views: 22566

PostForum: General CCS C Discussion   Posted: Thu Mar 21, 2013 5:06 am   Subject: Problem in comparing two strings Strcmp()
Finally solved. the code is working with get_string().
thanks ttelmah and everybody.
  Topic: Problem in comparing two strings Strcmp()
syeda amna

Replies: 13
Views: 22566

PostForum: General CCS C Discussion   Posted: Wed Mar 20, 2013 3:02 am   Subject: Problem in comparing two strings Strcmp()
no effect Confused
  Topic: Problem in comparing two strings Strcmp()
syeda amna

Replies: 13
Views: 22566

PostForum: General CCS C Discussion   Posted: Wed Mar 20, 2013 2:15 am   Subject: Problem in comparing two strings Strcmp()
Thanks FvM for mentioning the mistake.
char password

Now i declare it as char *password


#include <18F452.h>
#fuses HS,NOWDT,NOLVP,PUT,NOPROTECT,BROWNOUT
#use delay(clock=16M) ...
  Topic: Problem in comparing two strings Strcmp()
syeda amna

Replies: 13
Views: 22566

PostForum: General CCS C Discussion   Posted: Mon Mar 18, 2013 6:57 am   Subject: Problem in comparing two strings Strcmp()
Sorry for posting new thread. I changed the program a little bit. Just because strcmp() doesn't work. this command still does not give the correct answer. I The same code is working in standard C.
  Topic: Problem in comparing two strings Strcmp()
syeda amna

Replies: 13
Views: 22566

PostForum: General CCS C Discussion   Posted: Mon Mar 18, 2013 5:38 am   Subject: Problem in comparing two strings Strcmp()
they are same "0123456789". I use putc to see the contents. But it gives Incorrect . why? the same program works in standard C.
  Topic: Problem in comparing two strings Strcmp()
syeda amna

Replies: 13
Views: 22566

PostForum: General CCS C Discussion   Posted: Mon Mar 18, 2013 4:09 am   Subject: Problem in comparing two strings Strcmp()
why the code does not compare the two strings correctly??



#include <18F452.h>
#fuses HS,NOWDT,NOLVP,PUT,NOPROTECT,BROWNOUT
#use delay(clock=16M)
#use rs232(baud=9600, xmit= ...
  Topic: string tokens and save in arrays
syeda amna

Replies: 8
Views: 11227

PostForum: General CCS C Discussion   Posted: Fri Mar 15, 2013 2:24 am   Subject: string tokens and save in arrays
Great!!! Ttelmah Smile

I want to compare and the print the values in data[0] and data[1].
Now how can i print these values??
  Topic: string tokens and save in arrays
syeda amna

Replies: 8
Views: 11227

PostForum: General CCS C Discussion   Posted: Fri Mar 15, 2013 1:37 am   Subject: string tokens and save in arrays
thanks PCM Programmer for explaining the fuses.

I want to ask is there any builtin function that can produce the output like this.

data[0]=0123456789
data[1]=0123456789


...
  Topic: string tokens and save in arrays
syeda amna

Replies: 8
Views: 11227

PostForum: General CCS C Discussion   Posted: Thu Mar 14, 2013 11:41 am   Subject: string tokens and save in arrays
what will be the solution? Question
  Topic: string tokens and save in arrays
syeda amna

Replies: 8
Views: 11227

PostForum: General CCS C Discussion   Posted: Thu Mar 14, 2013 6:54 am   Subject: string tokens and save in arrays
Hi
I want to develop code such that it compares the string separated by "/". What i m missing.

the ouput shows data
#include <18F452.h>
#fuses HS,NOWDT,NOLVP,PUT,NOPROTECT,BROWNO ...
  Topic: PIC interfacing with 74595 and 7 segment
syeda amna

Replies: 6
Views: 10313

PostForum: General CCS C Discussion   Posted: Tue Mar 12, 2013 3:14 am   Subject: PIC interfacing with 74595 and 7 segment
40MHz, is _not_ a legal crystal speed for the PIC.
This part supports a maximum oscillator frequency of 25MHz. To work at 40Mhz, you have to use a 10MHz crystal, and the PLL, _or_ an external oscilla ...
  Topic: PIC interfacing with 74595 and 7 segment
syeda amna

Replies: 6
Views: 10313

PostForum: General CCS C Discussion   Posted: Tue Mar 12, 2013 2:28 am   Subject: PIC interfacing with 74595 and 7 segment
One obvious problem--
int8 a = 0110000;

should be

int8 a = 0b01100000;
or
int8 a = 0b00110000;

Not clear which, because you've only put 7 bits in the byte.

And with a processor ...
  Topic: PIC interfacing with 74595 and 7 segment
syeda amna

Replies: 6
Views: 10313

PostForum: General CCS C Discussion   Posted: Mon Mar 11, 2013 4:49 am   Subject: PIC interfacing with 74595 and 7 segment
Hi

I m trying to interface a 7 segment with PIC using 74595. I dont know where is the problem. I just want to display a number. plzz help me how to accomplish this task.



#INCLUDE <18F452. ...
  Topic: TC74 Interfacing with PIC18F452
syeda amna

Replies: 13
Views: 19233

PostForum: General CCS C Discussion   Posted: Sat Dec 29, 2012 3:17 am   Subject: TC74 Interfacing with PIC18F452
Ttelmah Great Exclamation

2) I'd specify a clock rate for the I2C. 'Slow' implies 100K communication. This is the absolute _maximum_ for the TC74. It should work, but try something like 25K.

Th ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group