View previous topic :: View next topic |
Author |
Message |
t.gasser
Joined: 01 Apr 2005 Posts: 3
|
#use rs232 |
Posted: Fri Apr 01, 2005 3:13 pm |
|
|
hello
i bought a new version of the compiler. reading the manuel (02.2005) i fount that there is no ENABLE=PIN-Option listed. is this option removed in the this version? if yes, how does it work with a rs485 bus?
thanks for help
thomas |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Sat Apr 02, 2005 11:17 am |
|
|
Hola thomas,
Yes, unfortunately you are right.
I have been reading the readme.txt where CCS inform
the new features that is not in the manual, nothing mention.
The on line version of the manual was not updated since August 2004.
You can define the use of a dedicated PIC pin as the ENABLE RS485 control as follow:
#use rs232(BAUD=19200, XMIT=PIN_C6, RCV=PIN_C7, ENABLE=PIN_C5, stream=RS485)
Keep well,
Humberto |
|
|
t.gasser
Joined: 01 Apr 2005 Posts: 3
|
|
Posted: Sun Apr 03, 2005 11:41 pm |
|
|
hello humberto
thanks for help, will try it like that.
have a nice day
thomas |
|
|
|