View Single Post
  #24   Spotlight this post!  
Unread 23-10-2006, 12:22
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Help with linking OI and RC over Internet....

If memory serves (and it may not, it's been a while since I touched one of these) the standard C functions printf() and scanf() are tied to that port, allowing scanf() to receive data from it and printf() to output. The only problem I can see with that is scanf() may be blocking and thus might break the timing of the code. Kevins Bells and Whistles 2006 camera code used the serial port for receiving single byte commands to control the camera, maybe look in to how he did it? I think it involved accessing the serial received buffer and plucking the data right out of there, which is how I typically use serial ports on 8-bit micros.

If this reply made no sense to you, sorry, I'm just getting up (Colleges are full of strange germs that tend to crush freshman). If you'd like to talk more one on one I can try to elaborate on it for you.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)