Maker Pro
Maker Pro

atmega8 and rs485

sherazi

Mar 8, 2010
91
Joined
Mar 8, 2010
Messages
91
. i am new to usart programming... and i have to impliment a program that has to run on atmega8 and communicate to a far off (more than 50 m in some cases)trminal. i plan to use the 485 standard... and plan to code in asmbly...

can any one help in coding... i have never coded for usart befor... i would have to send the status of gate,(opneneing, closing, closed etc)from the control panel of gate opner to the terminal
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Can't help with this directly, but why not program in C? There are libraries to do all the serial comms stuff.
 

sherazi

Mar 8, 2010
91
Joined
Mar 8, 2010
Messages
91
and i am fimilar with c++ but havnt used it for microcontrollers ever
 
Top