go_away

Author Topic: hyperterminal to controll robot  (Read 706 times)

0 Members and 1 Guest are viewing this topic.

Offline javilaTopic starter

  • Jr. Member
  • **
  • Posts: 31
  • Helpful? 0
hyperterminal to controll robot
« on: June 07, 2010, 10:47:31 PM »
Hi: I have the 50 $ robot with the uart working, I connected the robot to the computer to be able to see the values
of the sensor, everything works fine.. Now I want to be able to controll a set of leds from hyperterminal, do I have to change something on the initializations or the same thing that works for sending data works for receiving?
Basically the code uses the port d as output.
DDRD = 0xFF;  //configure all D ports for output. If I am going to be receiving data on the RX input.. do I need to change
that pin to input or that does not matter when you use uartGetByte()????

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,585
  • Helpful? 169
    • Society of Robots
Re: hyperterminal to controll robot
« Reply #1 on: June 08, 2010, 09:44:11 AM »
Nope, no need to change the port inits. Rx is always an input and Tx is always an output.

Offline javilaTopic starter

  • Jr. Member
  • **
  • Posts: 31
  • Helpful? 0
Re: hyperterminal to controll robot
« Reply #2 on: June 08, 2010, 09:55:01 AM »
nice, thanks

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2693 Views
Last post February 19, 2007, 03:16:09 PM
by JesseWelling
9 Replies
3236 Views
Last post April 18, 2008, 03:36:29 PM
by paulstreats
2 Replies
974 Views
Last post December 26, 2008, 12:33:42 PM
by Geir
2 Replies
402 Views
Last post December 13, 2010, 12:15:25 PM
by alex2988


Get Your Ad Here