Subject:
|
Retrieving data from the handyboard
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 6 Oct 1999 23:38:36 GMT
|
Viewed:
|
833 times
|
| |
| |
I need to transfer the data in a matrix on the HB to my win98 PC? I know a
special program is necessary to interpret the signals going to the COM port.
Does anyone have such a program or have the have some code that I can compile
with VS 6.0? Here is the function I am using:
int map[15][15][5];
void output()
{
int v=0;
int h=0;
int o=0;
for(v = 0; v<15; v++) {
for(h=0; h<15; h++) {
for(o=0; o<5; o++){
serial_putchar(map[v][h][o]);
}
}
}
}
|
|
Message has 1 Reply: | | RE: Retrieving data from the handyboard
|
| Interactive C can't handle 2D or 3D arrays.... instead another method needs to be used.. If your matrix was a 3X3 789 456 123 and rows went from bottom to top and columns from left to right then you'd have to come up with a formula using the row and (...) (25 years ago, 7-Oct-99, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|