Hello Everybody,
I have started working on a dashboard program in QBASIC for this year’s OI. I chose QBASIC because it is simple enough, and I know how to do some things in it.
I have already been able to open the serial port, detect which frame in incoming, and store the input stream in a 26-byte arrary. However, I am having a strange problem when attempting to display the values. If I use print to output the parts of the array, I get the ascii character representing the byte in the element of the array. This is a problem, as letters and ascii symbols are not easily parsed by humans. Is there a way that I can output data from the print command, out of a character variable, in a decimal format?
Also, for those teams working on a dashboard program, do not repeatedly set and unset the DTR pin. The OI tends to act flakey until it is reset if you do so.
Just put a Macromedia Flash ActiveX control on the form in VB (or Delphi, or any other environment that supports ActiveX). You can then set variables in the Flash movie directly. The Flash movie can interact with your program using the fscommand() function.