Is there a variable or something with the DriversStation class to return the Rev number?
I’m trying to get a custom display working just for fun, but I can’t find anything in the WPI Libraries for this.
I’m not sure how to go about doing this, but I don’t think it should be necessary. The DS rev number can already be viewed in the default view and should only be needed for inspection.
Oh no, it’s in no way necessary - I just felt like doing it because I’m sitting at Lansing and our bot is working fine, just wanted to have a bit of fun with the DS - but I figured I might as well make it function normally or whatever while having fun too.
There’s a custom class and everything that you have to use to get it to work, I have that, I just can’t figure out how to return the rev num
Boredom is quite fun: I’ve been working on a pong mode for our DS using the joysticks. It’s not finished yet, but I’ll post code once it’s done.
Bahahaha that sounds awesome, I cant wait to play it.
I was bored (that is my line that gets the other programmers knowing i wrote something interesting and complex) at the boilermaker, and so i wrote a simple pong, not very long, I have not had a chance to test it, but the other programmers thought that it works. it loops through evry .05 seconds and moves according to the joysticsk, and the ball bounces around negating the direction when it hits bounds.
You should test it with my test harness – should work, the LCD screen is quite functional for it.
hmm, plug in 2 joystics, download the test harness, play pong. hmmm… sounds like fun:) (and a way to not be bored)