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 13 matches
CCS Forum Index
Author Message
  Topic: LCD in 8 bit mode, help please
Boyko

Replies: 10
Views: 18058

PostForum: General CCS C Discussion   Posted: Sat Nov 27, 2004 12:34 pm   Subject: LCD in 8 bit mode, help please
Come on friends. I need help. I'm a novice with the CCS PIC C. I have got the LAB-X1 development system where the LCD is connected:

PortD.4 - data
PortD.5 - data
PortD.6 - data
PortD.7 - data
P ...
  Topic: LCD in 8 bit mode, help please
Boyko

Replies: 10
Views: 18058

PostForum: General CCS C Discussion   Posted: Fri Nov 26, 2004 5:44 am   Subject: LCD in 8 bit mode, help please
Could you please help me. I'd like to use my LCD like this:
PortD.4-7 : data lnes
PortE.0 : rs
PortE.1 : enable
PortE.2 : rw

I tried to modify the Mark's lcdd.c file, but when I compile the tes ...
  Topic: porting CCS Bootloader Sample to 18F2620
Boyko

Replies: 2
Views: 7189

PostForum: General CCS C Discussion   Posted: Fri Nov 19, 2004 1:15 pm   Subject: porting CCS Bootloader Sample to 18F2620
Try the Colt 18F bootloader. It's nice, free and works with all 18F chips.
  Topic: CCS functions and Picbasic subroutines
Boyko

Replies: 12
Views: 18420

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2004 9:22 am   Subject: CCS functions and Picbasic subroutines
Well, CCS is the most popular compiler. I'd like to program on it. I've already read the reference manual, the PICmicro MCU C book by Nigel Gardner, and the 20 lessons given by CCS. The next few weeks ...
  Topic: CCS functions and Picbasic subroutines
Boyko

Replies: 12
Views: 18420

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2004 5:09 am   Subject: CCS functions and Picbasic subroutines
Well may be 10 to 15% more code for Picbasic. But if I use 18F452 with 16k flash, I don't see any problem. My programs are more often 3-4k big. The rest 12-13 are not utilized.
Hitech has the most op ...
  Topic: CCS functions and Picbasic subroutines
Boyko

Replies: 12
Views: 18420

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2004 4:24 am   Subject: CCS functions and Picbasic subroutines
Yes I didn't use interrupt for outputtining the vars. But it's not a problem to be done. Many times I used interrupt driven circular buffer array.
Now I'm learning CCS C and I'm wondering do I need i ...
  Topic: CCS functions and Picbasic subroutines
Boyko

Replies: 12
Views: 18420

PostForum: General CCS C Discussion   Posted: Sat Nov 13, 2004 2:39 pm   Subject: CCS functions and Picbasic subroutines

How would you do something like this:

Code:
struct {
int8 a;
int8 b;
int16 c;
int32 d;
} data;

now send them via serial port with tx interrupts.


What do you mean with Tx inte ...
  Topic: CCS functions and Picbasic subroutines
Boyko

Replies: 12
Views: 18420

PostForum: General CCS C Discussion   Posted: Sat Nov 13, 2004 9:24 am   Subject: CCS functions and Picbasic subroutines
But I have very good programs for 16x2 LCD menus. Picbasic Proton+ has an excellent data table support.
Yes, I agree there are weaknesses, but I can't find them. That's why I ask you. Could you pleas ...
  Topic: CCS functions and Picbasic subroutines
Boyko

Replies: 12
Views: 18420

PostForum: General CCS C Discussion   Posted: Sat Nov 13, 2004 4:26 am   Subject: CCS functions and Picbasic subroutines
Everyone says that C is better than Basic, because it uses functions. But I can't undesrtand what exactlty is the advantage of the functions compared to the subroutines. Yes I know that in CCS we have ...
  Topic: How to inform the compiler for a bootloader?
Boyko

Replies: 7
Views: 16524

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2004 12:08 pm   Subject: How to inform the compiler for a bootloader?
Microcode loader is a part from the Microcode studio, which is the IDE for Picbasic pro.
Here it is the link for the Microcode loader part:

http://www.mecanique.co.uk/code-studio/loader/index.html ...
  Topic: How to inform the compiler for a bootloader?
Boyko

Replies: 7
Views: 16524

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2004 11:52 am   Subject: How to inform the compiler for a bootloader?
Nope. This is not the problem. I've added the following line:

#fuses XT,NOPROTECT,NOLVP,NOWDT

but the led still does not blink.
May be the reset and interrupt vectors must be different?
  Topic: How to inform the compiler for a bootloader?
Boyko

Replies: 7
Views: 16524

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2004 7:31 am   Subject: How to inform the compiler for a bootloader?
Please help. I don't know what's wrong. I'm loading the HEX file with the Microcode loader, but the program doesn't work (i.e. the LED does not blink). Here it is the code:

#include <18F452.h> ...
  Topic: How to inform the compiler for a bootloader?
Boyko

Replies: 7
Views: 16524

PostForum: General CCS C Discussion   Posted: Mon Oct 11, 2004 5:57 am   Subject: How to inform the compiler for a bootloader?
Hi.

I'm a begginer with the CCS C.

Till now I used Pibasic pro and Proton+. When I want to tell the compiler that I'll load the HEX file into the PIC with a bootloader I only have to type:

De ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group