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

network cable tester using 2 pic18f4520

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mahmoudmk1994



Joined: 07 May 2014
Posts: 1
Location: lebanon

View user's profile Send private message

network cable tester using 2 pic18f4520
PostPosted: Wed May 07, 2014 12:30 pm     Reply with quote

i need 1 pic that transmits and the other that receives, it tests straight-through and crossover cable and the test runs like this:
(first pic) on portD a pin sends 1 to the other pic's pin if that pin has 1
it increments to the other pin of the second pic then 1 is sended to second pin
of the first pic and so on,the same is if 0 is sended from the first pic.
Second case:
and if the other pic didn't receive 1 or 0 from the first pic it doesn't reply
in this operation there must be a timer that waits for the reply(0.25sec)
if it exceed this time then this pair is not working...

i appreciate for helping me with these to codes :s
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Wed May 07, 2014 1:23 pm     Reply with quote

See today's post on this link:-

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

Mike
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group