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 44 matches
CCS Forum Index
Author Message
  Topic: Ethernet(ENC28J60) Interfacing With PIC
semmoor

Replies: 7
Views: 24663

PostForum: General CCS C Discussion   Posted: Sat Jul 12, 2014 9:20 am   Subject: Ethernet(ENC28J60) Interfacing With PIC
thanks to all, it was really useful, i appreciate that.
  Topic: Ethernet(ENC28J60) Interfacing With PIC
semmoor

Replies: 7
Views: 24663

PostForum: General CCS C Discussion   Posted: Mon Jul 07, 2014 5:30 am   Subject: Ethernet(ENC28J60) Interfacing With PIC
thank you:

I only need to know where can i get these parameters are they available in my router configurations??

or PC just don't know??
  Topic: Ethernet(ENC28J60) Interfacing With PIC
semmoor

Replies: 7
Views: 24663

PostForum: General CCS C Discussion   Posted: Mon Jul 07, 2014 3:48 am   Subject: Ethernet(ENC28J60) Interfacing With PIC
I'm planning to interface Ethernet with a PIC MCU to control devices using the internet.

For example turning on a led connected to an MCU using the website.

but since this is my first time I hav ...
  Topic: problem delay function by timer0
semmoor

Replies: 11
Views: 17186

PostForum: General CCS C Discussion   Posted: Wed Aug 15, 2012 1:53 pm   Subject: problem delay function by timer0
But can the code in the link be used in my project since I'm using an 8bit timer?
Yes, of course it can.

There are posts in the thread which explain how to do it.

In your case you simply excha ...
  Topic: problem delay function by timer0
semmoor

Replies: 11
Views: 17186

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2012 10:23 am   Subject: problem delay function by timer0
You've got a rounding off error in your time generation.

You could lift something from this code which solves the problem.

http://www.ccsinfo.com/forum/viewtopic.php?t=26177

Like DK says ther ...
  Topic: problem delay function by timer0
semmoor

Replies: 11
Views: 17186

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2012 10:16 am   Subject: problem delay function by timer0

void my_delay(int8 time) {
set_timer0(0);
while(get_timer0()!=time);
}


Its simply checks the timer value until its reach the value of the time ...
  Topic: problem delay function by timer0
semmoor

Replies: 11
Views: 17186

PostForum: General CCS C Discussion   Posted: Sun Aug 12, 2012 5:21 pm   Subject: problem delay function by timer0
NePe thank you I tried it and it worked 100%,

I changed your code to:

void my_delay(int8 time)
{
while(t1 != time); t1=0;
}

I'm just wondering about "whi ...
  Topic: problem delay function by timer0
semmoor

Replies: 11
Views: 17186

PostForum: General CCS C Discussion   Posted: Sun Aug 12, 2012 4:35 pm   Subject: problem delay function by timer0
Are you using external clock for timer0?

Try something like that:

void my_delay(int16 time) {
set_timer0(0);
while(get_timer0()!=time);
}

I'm ...
  Topic: problem delay function by timer0
semmoor

Replies: 11
Views: 17186

PostForum: General CCS C Discussion   Posted: Sun Aug 12, 2012 2:24 pm   Subject: problem delay function by timer0
hi guys,

I'm doing a project that counts seconds and minutes on 4-digit 7SD.
Seconds and minutes are generated using timer0 , but in the main function i was forced to use delay_ms function to av ...
  Topic: PIC, I2C, EEPROM, PROBLEM
semmoor

Replies: 9
Views: 21782

PostForum: General CCS C Discussion   Posted: Tue Jul 31, 2012 5:21 am   Subject: PIC, I2C, EEPROM, PROBLEM
hi guys how's everybody.

i just have a few questions about pin change interrupts.

i'm using a program that detects pin change interrupts on B4-B7 actually when a button is pressed, i modified i ...
  Topic: About 25LC080b SPI eeprom on 18F4620
semmoor

Replies: 4
Views: 7174

PostForum: General CCS C Discussion   Posted: Fri Jul 27, 2012 5:48 am   Subject: About 25LC080b SPI eeprom on 18F4620
i tested this code didn't workThis makes no sense to me...
Why are you testing a 3 years old code of which the original poster says it doesn't work??? Confused

No !! i didn't mean the code abo ...
  Topic: interfacing pic16f877a with eeprom 25lc640
semmoor

Replies: 9
Views: 22928

PostForum: General CCS C Discussion   Posted: Fri Jul 27, 2012 5:42 am   Subject: interfacing pic16f877a with eeprom 25lc640
Since PCM Programmer proved your code works on real hardware the problem( again) is Proteus !
Sigh, I know I sound like a broken record , but Proteus is FULL of bugs, errors, faulty DRCs and is NOT a ...
  Topic: interfacing pic16f877a with eeprom 25lc640
semmoor

Replies: 9
Views: 22928

PostForum: General CCS C Discussion   Posted: Fri Jul 27, 2012 5:20 am   Subject: interfacing pic16f877a with eeprom 25lc640
did it work on proteus?
  Topic: About 25LC080b SPI eeprom on 18F4620
semmoor

Replies: 4
Views: 7174

PostForum: General CCS C Discussion   Posted: Fri Jul 27, 2012 4:04 am   Subject: About 25LC080b SPI eeprom on 18F4620
i tested this code didn't work
  Topic: PIC, I2C, EEPROM, PROBLEM
semmoor

Replies: 9
Views: 21782

PostForum: General CCS C Discussion   Posted: Thu Jul 26, 2012 4:06 am   Subject: it worked.
You have read 2416.c, haven't you?

It has its own use i2c, and it defaults to pin E0 for SDA and E1 for SCL. If you want to override those settings you must define EEPROM_SDA before including 2416. ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group