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

RS485 example

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



Joined: 05 Jun 2013
Posts: 10
Location: Mumbai

View user's profile Send private message Send e-mail

RS485 example
PostPosted: Tue Jun 25, 2013 8:43 am     Reply with quote

Ttelmah or any can guide to send single byte on RS485 i had gone through example but i am not clear. please guide for master to send data & how to recieve over RS485. i am very confusing. please guide me. i will appreciate him.
_________________
I m Working as PIC Programmer Fresher
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Tue Jun 25, 2013 9:47 am     Reply with quote

Hi,

What are you confused about? From a programming standpoint, sending and receiving over RS485 will be the same any other serial operation. The only
difference is that you must add the 'Enable' keyword to your #use rs232 statement, and specify a hardware pin to control the direction of data on
the RS485 bus. Typically, you will use a MAX485 interface IC or equivalent.

There are lots of RS485 related threads here on the forum.....

John
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