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 12 matches
CCS Forum Index
Author Message
  Topic: Two I2C devices with same address, and only 1 spare pin!
Donlaser

Replies: 8
Views: 14695

PostForum: General CCS C Discussion   Posted: Fri Feb 09, 2007 11:07 am   Subject: Two I2C devices with same address, and only 1 spare pin!
I use a scheme similar to the proposed one by Adrian to control two TDA7449 i2c audio preamp with two data lines and a data line for the shared clock.
  Topic: 18f6720 and two UART
Donlaser

Replies: 4
Views: 5493

PostForum: General CCS C Discussion   Posted: Tue Feb 06, 2007 11:50 am   Subject: 18f6720 and two UART
you must ensure that the code checks the incoming line wthin less than half a bit time of the character beginning.
Another alternative, is an external SPI UART.

Best Wishes


As Ttelmah say, y ...
  Topic: sms
Donlaser

Replies: 23
Views: 29594

PostForum: General CCS C Discussion   Posted: Thu Mar 30, 2006 7:34 pm   Subject: sms
what modem are you using?
I my proyects with motorola G20 GSM modem i need to connect some of the RS232 modem hardware handshake lines together to get it work...
Most modems use a hardware handshak ...
  Topic: Problems with reading from a serial port
Donlaser

Replies: 10
Views: 15180

PostForum: General CCS C Discussion   Posted: Tue Mar 14, 2006 11:17 am   Subject: Problems with reading from a serial port
Most modems use a hardware handshake protocol, you need to control or loop togheter the handshakes lines.
In the development a similar product i find very useful monitor the communication between p ...
  Topic: I2C EEPROM page Write & RS232
Donlaser

Replies: 4
Views: 10977

PostForum: General CCS C Discussion   Posted: Mon Mar 13, 2006 4:54 pm   Subject: I2C EEPROM page Write & RS232
Try add a i2c_stop() to stop the bus where you are checking to finish the write.

Code:
void page_write_ext_eeprom(long int address, char *data)
{
short int status;
int i; ...
  Topic: Problem reading RS232
Donlaser

Replies: 17
Views: 25977

PostForum: General CCS C Discussion   Posted: Wed Feb 22, 2006 12:33 pm   Subject: Problem reading RS232
In the read function you need to wait for $ symbol, or better $GPGGA, then read the rest of the line.

Search the forum for NMEA parsing.

I do someting like that, and then do the parsing of the ...
  Topic: PS2 KEYBOARD
Donlaser

Replies: 4
Views: 9606

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2006 8:07 pm   Subject: PS2 KEYBOARD
I use this routines for ps/2 i/o, with a pic16f628 running @4mhz intrc.
Work without problem in more than 2000 units deployed.
You can use this for code as Asm inline o recode in CCS C.

KBD_CLK_ ...
  Topic: Using ultraedit with CCS
Donlaser

Replies: 6
Views: 8412

PostForum: General CCS C Discussion   Posted: Fri Feb 03, 2006 11:31 am   Subject: Using ultraedit with CCS
no, nothing is set in the advanced tab.
  Topic: Using ultraedit with CCS
Donlaser

Replies: 6
Views: 8412

PostForum: General CCS C Discussion   Posted: Thu Feb 02, 2006 8:19 pm   Subject: Using ultraedit with CCS
THIS IS WORKING....

the full command line is:
"C:\Archivos de programa\PICC\Ccsc.exe" +STDOUT +FH +DC +Y9 +T +A +EA %N


HTTP://www.laser2000.com.ar/ULTRAEDIT.jpg

Hernan from Argentina
  Topic: ZX4120 GPS module
Donlaser

Replies: 3
Views: 7854

PostForum: General CCS C Discussion   Posted: Wed Feb 01, 2006 7:36 pm   Subject: ZX4120 GPS module
Add a call to the parse function in the main loop. The garbage that you get in the pc is the uninitialized content of GRTMC buffer.



while(TRUE){
int b;

parse(); // & ...
  Topic: 2-wire LCD driver, no need for xtal osc
Donlaser

Replies: 12
Views: 98069

PostForum: Code Library   Posted: Sat Dec 03, 2005 7:05 am   Subject: 2-wire LCD driver, no need for xtal osc
Alex,

I feel it, it is truth, there is a typing error in the for loop, I already corrected it.

The 1ms works ok in Powertip 1602 LCDs, and avoided the blinking that happens when was 5ms, this ...
  Topic: 2-wire LCD driver, no need for xtal osc
Donlaser

Replies: 12
Views: 98069

PostForum: Code Library   Posted: Sat Sep 17, 2005 8:52 am   Subject: 2-wire LCD driver, no need for xtal osc
I adapt CCS driver for use the 2wire serial lcd interface.

I found this interface very useful for lcd when a 1 wire serial lcd is not practical due use of INTRC osc configuration. This interface ha ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group