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 19 matches
CCS Forum Index
Author Message
  Topic: How many times I press the button?
nemero16

Replies: 2
Views: 2980

PostForum: General CCS C Discussion   Posted: Thu Jul 08, 2010 11:07 am   Subject: How many times I press the button?
no one knows help me?
  Topic: How many times I press the button?
nemero16

Replies: 2
Views: 2980

PostForum: General CCS C Discussion   Posted: Wed Jul 07, 2010 3:21 pm   Subject: How many times I press the button?
Hi I am working with a 4x4 keyboard that sends input to a PIC18F using this configuration:

char readkey()
{ char c;

output_low(PIN_C1);
output_low(PI ...
  Topic: Problem with LCD NOKIA 6610 and 16F87X
nemero16

Replies: 2
Views: 6787

PostForum: General CCS C Discussion   Posted: Mon Jul 05, 2010 1:47 pm   Subject: Problem with LCD NOKIA 6610 and 16F87X
ok I changed the ports and changed the code like this:
//// Marcus Russell
//// Russell Evolutions Inc.
//// Nokia 6100 LCD with Epson S1D15G10 Controller
//// sample initialization program for P ...
  Topic: Problem with LCD NOKIA 6610 and 16F87X
nemero16

Replies: 2
Views: 6787

PostForum: General CCS C Discussion   Posted: Mon Jul 05, 2010 9:14 am   Subject: Problem with LCD NOKIA 6610 and 16F87X
hi I'm working with a Nokia 128x128 LCD and a PIC16F876A but I do not know if the screen controller is EPSON or PHILIPS ... this is the sample code I'm using but when I turn on the circuit, the screen ...
  Topic: 18F14K50 and CCS compiler
nemero16

Replies: 3
Views: 5321

PostForum: General CCS C Discussion   Posted: Tue May 04, 2010 10:36 am   Subject: 18F14K50 and CCS compiler
and what is the latest version? thanks
  Topic: 18F14K50 and CCS compiler
nemero16

Replies: 3
Views: 5321

PostForum: General CCS C Discussion   Posted: Tue May 04, 2010 10:32 am   Subject: 18F14K50 and CCS compiler
Hi, I would use the PIC18F14k50 with the CCS compiler, is this possible? In the library there is no 18F14k50.h ... like I can do? Thank you.
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Tue Nov 24, 2009 12:48 pm   Subject: convert Decimal to Hex
ok!! now it works perfectly!! Very Happy thanks!!!
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 6:58 pm   Subject: convert Decimal to Hex
okok I'll wait... thanks for your interest! Very Happy
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 6:44 pm   Subject: convert Decimal to Hex
for example I want to write to 0A and to write to this address should I write 010 in decimal ... right?
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 6:40 pm   Subject: convert Decimal to Hex
I changed this:

if((cmd!='L') && (cmd!='S')){
}
else{
printf("\n\rBlocco: ");
address = get_int( ...
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 6:23 pm   Subject: convert Decimal to Hex
then I also changed the library so input.c be included only 3 digits for the address like this:
signed int8 get_int() {
char s[3];
signed int8 i;

get_string(s, 3&# ...
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 5:57 pm   Subject: convert Decimal to Hex
ok, I removed everything and I left this:
if ((cmd = 'L') & & (cmd = 'S')) {
}
else {
printf ( "\ n \ rBlocco:" ...
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 5:09 pm   Subject: convert Decimal to Hex
But the program works and also good ... it's just that I want to insert the address in decimal and not hex ... the part to change, or insert the get_int () is this:

void main()
{BYTE ...
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 4:34 pm   Subject: convert Decimal to Hex
compiles ok but the program does not work because when I enter the address in dec and it does not go on .... this is the code:
#include <16F876.h>
#device adc=8

#FUSES NOWDT ...
  Topic: convert Decimal to Hex
nemero16

Replies: 26
Views: 30849

PostForum: General CCS C Discussion   Posted: Sun Nov 22, 2009 3:53 pm   Subject: convert Decimal to Hex
ops... Very Happy I had not seen .. hahaha, but writing this out an error ...:
address = get_int();
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group