Log in

View Full Version : Interupts?


Validius
10-01-2006, 22:43
I was told that there was a really good paper in interupts. Could anyone point me to that?

Also, any docu about how to use/write to EEPROM would be much appriciated!

Ultamently i want to create a command line interface for my robot. This will be complete with the ability to tweak settings and perhaps script autonomous code on the fly. A status screen would also be very nice but for that i would need to understand how VT100 works.

Astronouth7303
10-01-2006, 22:45
http://kevin.org/frc/

Kevin Watson
10-01-2006, 23:11
Also, any docu about how to use/write to EEPROM would be much appriciated! I have EEPROM code that works with the robot controllers. A version that will work with the 2004/2005 controllers can be found here: http://kevin.org/frc/2005/. I'll release a version for the 2006 controller soon (It's done, but I want to do some testing).

Ultamently i want to create a command line interface for my robot. This will be complete with the ability to tweak settings and perhaps script autonomous code on the fly. Well, the new camera menuing code should give you some ideas.

A status screen would also be very nice but for that i would need to understand how VT100 works.From camera_readme.txt: Since the IFI terminal is somewhat restrictive, you might
consider using one of the free high quality terminal emulators
available. TeraTerm Pro (http://www.ayera.com/teraterm) and
PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty) are
a few examples. If you dive into the existing code or create
your own custom menus (as I hope you will), you might consider
writing code that will exploit the capabilities of a good
terminal emulator. To get started, do a google search on the
phrase "terminal escape codes".

-Kevin

Validius
10-01-2006, 23:19
Yes, teraterm is a must. The IFI terminal is kinda lame.

Kevin: Have you written any docu on interupts?

Pat Fairbank
10-01-2006, 23:31
I was told that there was a really good paper in interupts. Could anyone point me to that?
Maybe you're referring to this one, Interrupts for Dummies (http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=272).

Kevin Watson
10-01-2006, 23:33
Yes, teraterm is a must. The IFI terminal is kinda lame.

Kevin: Have you written any docu on interupts?No, but Dan Katanski did some time back. Here's a link: http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=272.

You'll find my interrupt template code for the 2004/2005 controller here: http://kevin.org/frc/2005. It should work just fine with the 2006 controller, but I haven't tried compiling interrupts.c/.h for the new controller so your mileage may vary.

-Kevin

Validius
11-01-2006, 18:29
Thanks, all that looks great!