View Single Post
  #1   Spotlight this post!  
Unread 31-01-2004, 17:42
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
QBASIC Dashboard Program

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.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005