Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

any debug mode to read input data from ERX?

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
2 postsPage 1 of 1
2 postsPage 1 of 1

any debug mode to read input data from ERX?

Post by ANDYKONG » Tue Apr 11, 2006 4:16 am

Post by ANDYKONG
Tue Apr 11, 2006 4:16 am

I used to work on basic stamp and it has debug function. I wonder if RoboBasic has something like this.
BTW, that's true, ETX on the board is actually ERX. I have my 433Mhz TX/RX on the rootnova and it works ok.
For ERX function, when I want to send two bytes, I can't recieve the second byte even when I use two variables. Wonder if the timing is right.

Also, does anyone know the protocol of the IR remote?

Great robot BTW. Cheers.
I used to work on basic stamp and it has debug function. I wonder if RoboBasic has something like this.
BTW, that's true, ETX on the board is actually ERX. I have my 433Mhz TX/RX on the rootnova and it works ok.
For ERX function, when I want to send two bytes, I can't recieve the second byte even when I use two variables. Wonder if the timing is right.

Also, does anyone know the protocol of the IR remote?

Great robot BTW. Cheers.
ANDYKONG

Re: any debug mode to read input data from ERX?

Post by Pev » Tue Apr 11, 2006 4:53 pm

Post by Pev
Tue Apr 11, 2006 4:53 pm

ANDYKONG wrote:I used to work on basic stamp and it has debug function. I wonder if RoboBasic has something like this.
BTW, that's true, ETX on the board is actually ERX. I have my 433Mhz TX/RX on the rootnova and it works ok.
For ERX function, when I want to send two bytes, I can't recieve the second byte even when I use two variables. Wonder if the timing is right.

Also, does anyone know the protocol of the IR remote?

Great robot BTW. Cheers.


Hi

You could try what I do, which is use the LCD port. This will print string s and using the format command numbers. The port is a 4800 baud 8-n-1 port at TTL levels, so you'll need to convert it to RS232 before attaching to a PC.
Basically once it is connected you can use something like Hyperterm to display the port output. You'll need to do an LCDINIT to open the port then just use the PRINT command - if you want to print a numeric variable you can use the Print command with the Format command:

PRINT FORMAT(VAR,DEC)

All the commands are in the roboBasic manual.

Hope this helps

Pev
ANDYKONG wrote:I used to work on basic stamp and it has debug function. I wonder if RoboBasic has something like this.
BTW, that's true, ETX on the board is actually ERX. I have my 433Mhz TX/RX on the rootnova and it works ok.
For ERX function, when I want to send two bytes, I can't recieve the second byte even when I use two variables. Wonder if the timing is right.

Also, does anyone know the protocol of the IR remote?

Great robot BTW. Cheers.


Hi

You could try what I do, which is use the LCD port. This will print string s and using the format command numbers. The port is a 4800 baud 8-n-1 port at TTL levels, so you'll need to convert it to RS232 before attaching to a PC.
Basically once it is connected you can use something like Hyperterm to display the port output. You'll need to do an LCDINIT to open the port then just use the PRINT command - if you want to print a numeric variable you can use the Print command with the Format command:

PRINT FORMAT(VAR,DEC)

All the commands are in the roboBasic manual.

Hope this helps

Pev
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK


2 postsPage 1 of 1
2 postsPage 1 of 1