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 103 matches
CCS Forum Index
Author Message
  Topic: Keypad using A2D Interrupt
chingB

Replies: 0
Views: 30647

PostForum: Code Library   Posted: Sat Aug 26, 2006 1:16 am   Subject: Keypad using A2D Interrupt
Hi,

I am sharing a simple code that will implement a keypad using the A2D interrupt of a PICmicro. BTW, I use the PIC18F452 chip for a circuit prototype.

The link below is the image file of the ...
  Topic: Wiegand to Serial Driver
chingB

Replies: 6
Views: 69297

PostForum: Code Library   Posted: Sun Aug 13, 2006 2:42 am   Subject: Wiegand to Serial Driver
Below is the listing for the Main Program


void init_mcu() // MCU Initialization Routine
{
delay_ms(4000); // delay for 4 seconds (stabilized MCU?)

// B0 &a ...
  Topic: Wiegand to Serial Driver
chingB

Replies: 6
Views: 69297

PostForum: Code Library   Posted: Sun Aug 13, 2006 2:40 am   Subject: Re: Wiegand to Serial Driver
Hi ChingB,

Could you put an example code to show how to use your driver please


int1 check_Parity(unsigned int8 index,unsigned int32 wgCode)
{
int1 pResult =0;
unsigned ...
  Topic: Wiegand to Serial Driver
chingB

Replies: 6
Views: 69297

PostForum: Code Library   Posted: Sun Aug 13, 2006 2:21 am   Subject: Re: Wiegand to Serial Driver
Hi ChingB,

Could you put an example code to show how to use your driver please

Below is the complete code listing:

#byte PORTB = 0xF81 // PortB special function register

#bit RBPU ...
  Topic: Wiegand to Serial Driver
chingB

Replies: 6
Views: 69297

PostForum: Code Library   Posted: Sat Aug 12, 2006 12:53 am   Subject: Wiegand to Serial Driver


I hope this simple code will help.


#byte PORTB = 0xF81 // PortB special function register

#bit RBPU = 0xFF1.7 // PortB pull-ups enable bit (0-enable, 1-disable)
#bit TM ...
  Topic: Barcode Decoder Source Code
chingB

Replies: 5
Views: 63030

PostForum: Code Library   Posted: Fri Mar 31, 2006 12:23 am   Subject: Barcode Decoder Source Code
ChingB has not posted on the forum for 6 months. He has probably
left the forum.

Sorry Guys I've been busy lately with my company projects.

I am now working with BitMicro (http://www.bitmicro ...
  Topic: PICDEM 2 PLUS LCD
chingB

Replies: 13
Views: 106378

PostForum: Code Library   Posted: Sat Aug 06, 2005 6:49 am   Subject: PICDEM 2 PLUS LCD
I modify the code of Mark without using the #locate built-in preprocessor of the CCS compiler which is not supported with other PICmicro C-compilers.

Rather I use the method in C memory-mapped I/O. ...
  Topic: Arrays of character strings
chingB

Replies: 2
Views: 5836

PostForum: General CCS C Discussion   Posted: Mon Jul 11, 2005 4:42 am   Subject: Arrays of character strings
Hi,

Does CCS compiler support this declaration.


char *pName[12] = {
"123", "456", "789", "abc",
"NAY", "TOY", ...
  Topic: Barcode Decoder Source Code
chingB

Replies: 5
Views: 63030

PostForum: Code Library   Posted: Sat Jul 09, 2005 12:56 am   Subject: Barcode Decoder Source Code
Hi,

I am sharing my barcode decoder source code. I guess this would be helpful in the community.

I use a Barcode OEM Slot Type Module from FameTech or Tysso at
#define ZERO_VAL ...
  Topic: reverse order of bits
chingB

Replies: 7
Views: 82204

PostForum: Code Library   Posted: Sat Jun 25, 2005 12:29 am   Subject: reverse order of bits
treitmey... this is of great help... reversing the endianess of the bits.
thanks.
  Topic: LCD with pic18F452
chingB

Replies: 3
Views: 8834

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2005 5:29 am   Subject: LCD with pic18F452
Hi,

This is what I did for my PIC18F452 with an LCD module connection.

LCD Pin PIC18F452 Pin
DB4 RD4
DB5 RD5
DB6 ...
  Topic: LCD with pic18F452
chingB

Replies: 3
Views: 8834

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2005 5:28 am   Subject: LCD with pic18F452
Hi,

This is what I did for my PIC18F452 with an LCD module connection.

LCD Pin PIC18F452 Pin
DB4 RD4
DB5 RD5
DB6 ...
  Topic: LCD with pic18F452
chingB

Replies: 3
Views: 8834

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2005 5:27 am   Subject: LCD with pic18F452
Hi,

This is what I did for my PIC18F452 with an LCD module connection.

LCD Pin PIC18F452 Pin
DB4 RD4
DB5 RD5
DB6 ...
  Topic: Pointer and Reference Parameter Inquiry
chingB

Replies: 2
Views: 7188

PostForum: General CCS C Discussion   Posted: Sat Jun 11, 2005 8:48 pm   Subject: Pointer and Reference Parameter Inquiry
Hi,

According to CCS reference manual...

The compiler has limited support for reference parameters. This increases the readability of code and the efficiency of some inline procedures. The follo ...
  Topic: bootloader and SIOW XON/XOFF protocol problem
chingB

Replies: 5
Views: 10309

PostForum: General CCS C Discussion   Posted: Tue May 31, 2005 4:42 pm   Subject: bootloader and SIOW XON/XOFF protocol problem
I made a modification of the included bootloader example of CCS and I made an visual basic apps for downloading the code to the PIC. I never use the SIOW that came with the compiler.

I already test ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group