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 11 matches
CCS Forum Index
Author Message
  Topic: interrupt loop!!!! please help!!!!
Acktung

Replies: 11
Views: 13364

PostForum: General CCS C Discussion   Posted: Mon Jul 11, 2005 5:20 pm   Subject: OK. ... more details ...
this is the tastiera funtions:

void TASTIERA()
{
carattere_premuto = ' ';
SET_TASTIERA();
while (spam < 10)
{
INPUT_COLONNE();
spam++;
CLOCK_TASTIERA();
} ...
  Topic: interrupt loop!!!! please help!!!!
Acktung

Replies: 11
Views: 13364

PostForum: General CCS C Discussion   Posted: Mon Jul 11, 2005 1:06 pm   Subject: MMMM I HAVE TESTED!
now the mai init is:

setup_adc_ports(NO_ANALOGS);
setup_adc(ADC_OFF);
//setup_psp(PSP_DISABLED);
setup_spi(FALSE);
setup_wdt(WDT_OFF);
setup_counters(RTCC_INTERNAL,RTCC_DIV_2 ...
  Topic: interrupt loop!!!! please help!!!!
Acktung

Replies: 11
Views: 13364

PostForum: General CCS C Discussion   Posted: Mon Jul 11, 2005 12:00 pm   Subject: interrupt loop!!!! please help!!!!
i am very, very, very .... but really very luky ... i have 50 pic18f252 and all run correctly, i use i2c, rs232, lcd display ... an all work perfectly ... ... but my question is not over the crystal . ...
  Topic: interrupt loop!!!! please help!!!!
Acktung

Replies: 11
Views: 13364

PostForum: General CCS C Discussion   Posted: Mon Jul 11, 2005 10:37 am   Subject: mmm
ok ... i have a 40MHz crystal .... so the fouse became?

but ... now the firmware run good ... the serial, the delay etc ... mmmm mmmm mmmm strange!
  Topic: interrupt loop!!!! please help!!!!
Acktung

Replies: 11
Views: 13364

PostForum: General CCS C Discussion   Posted: Mon Jul 11, 2005 3:27 am   Subject: interrupt loop!!!! please help!!!!
i use a pic 18f252 and when i use interrupt my pic enter in loop.

my fuses are:

#fuses HS,NOWDT,NOPROTECT,NOLVP

my clock and hardware:

#use delay(clock=40000000)
#use i2c(Master,Fast,sda ...
  Topic: LCD Contrast regulated by a PIN
Acktung

Replies: 8
Views: 10824

PostForum: General CCS C Discussion   Posted: Sat Jun 18, 2005 6:13 pm   Subject: LCD Contrast regulated by a PIN
is possible?


... is there someone whom he knows how to regulate ana analogical tension on a pin? in this way it would be possible to check the contrast of a lcd eliminating the use of the trimmer ...
  Topic: LCD truble!!! is not possible but ...
Acktung

Replies: 7
Views: 10667

PostForum: General CCS C Discussion   Posted: Fri Jun 17, 2005 4:03 pm   Subject: LCD truble!!! is not possible but ...
the adress is standard ....

case 1 : address=0x80;break;
case 2 : address=0xA0;break;
case 3 : address=0xC0;break;
case 4 : address=0xE0;break;


in any case this controller is 100% compa ...
  Topic: LCD truble!!! is not possible but ...
Acktung

Replies: 7
Views: 10667

PostForum: General CCS C Discussion   Posted: Fri Jun 17, 2005 12:34 pm   Subject: ...
and it is clear ... the init function become:

void lcd_init() {
BYTE i;

set_tris_b(LCD_WRITE);
lcd.rs = 0;
lcd.rw = 0;
lcd.enable = 0;
delay_ms(15);
for(i=1;i&l ...
  Topic: LCD truble!!! is not possible but ...
Acktung

Replies: 7
Views: 10667

PostForum: General CCS C Discussion   Posted: Fri Jun 17, 2005 12:32 pm   Subject: tanks newguy!!!
Very Happy

OK i have resolved ... ... whith the datasheet i have resolved ...

I hope that this can help others that use EA DIP204-4NLED ELECTRONIC ASSEMBLY display as me.

So for solve the proble ...
  Topic: LCD truble!!! is not possible but ...
Acktung

Replies: 7
Views: 10667

PostForum: General CCS C Discussion   Posted: Tue Jun 14, 2005 5:35 am   Subject: LCD truble!!! is not possible but ...
whit your adress the lcd is like this:
____________________
|44444444444411111111|
|11111111____________|
|33333333333333333333|
|33333333____________|

?

there are someone that have idea?
  Topic: LCD truble!!! is not possible but ...
Acktung

Replies: 7
Views: 10667

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2005 5:19 pm   Subject: LCD truble!!! is not possible but ...
I have a problem whit a 4x20 LCD Display whit ks0073 controller ...

my init string is: {0x20 | (lcd_type << 2), 0xc,1,6}

my memory map is

line1 0x80
line2 0xc0
line3 0x94
line4 0xd4 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group