RyanN
January 10, 2016, 12:09am
1
Hey everyone,
Besides doing Ri3d, which has too much time , I’ve been writing a driver for the new REV Robotics Digit board for LabVIEW.
It’s not finished yet, but if your team is itching to play with it, give it a try and maybe develop more on it (GitHub is cool like that!).
Some of the character table is messed up, likely due to an electrical change between the original Adafruit design, 1538, and REV Robotics.
The code is hosted on our team’s GitHub .
Hopefully the official library will be out soon, but in the meantime, feel free to use this.
Here’s a quick demo on how to print out at most 4 characters:
https://raw.githubusercontent.com/GarnetSquardon4901/FRC-4901-Garnet-Squadron/master/Library/REV%20Digit%20MXP/LabVIEW/Demo.png
You can stick this in the Periodic Tasks.vi in it’s own loop.
RyanN
January 10, 2016, 10:21am
2
Fixed the character table!
Roll Tide & Hail State
RyanN
January 10, 2016, 12:13pm
3
I would consider this library finished. If you find something or want additional features, let me know and I’ll consider adding them.
RyanN
January 15, 2016, 1:57pm
4
Okay, I rewrote a lot of it so that it would be more familiar to most students using LabVIEW and packed it into an easy to manage LabVIEW VI Library (LLB File).
You can simply right click in your project to add it.
Here are a few code examples to get you going.
This is what you would place in the Begin.vi:
https://raw.githubusercontent.com/GarnetSquardon4901/FRC-4901-Garnet-Squadron/master/Library/REV%20Digit%20MXP/LabVIEW/Begin.png
If you want an easy to read voltage meter on your robot, place this in Periodic Tasks.vi:
https://raw.githubusercontent.com/GarnetSquardon4901/FRC-4901-Garnet-Squadron/master/Library/REV%20Digit%20MXP/LabVIEW/Battery%20Voltage.png
If you want to simply scroll some text on that screen, do this in Periodic Tasis.vi:
https://raw.githubusercontent.com/GarnetSquardon4901/FRC-4901-Garnet-Squadron/master/Library/REV%20Digit%20MXP/LabVIEW/Scroll%20Text.png
What about read an input or write some custom formatted text to the display?
https://raw.githubusercontent.com/GarnetSquardon4901/FRC-4901-Garnet-Squadron/master/Library/REV%20Digit%20MXP/LabVIEW/Get%20Adjustment%20%26%20Build%20Display.png
Download the library from our team’s repository .
Anyway we can get this post updated for 2018?
All the links to the example pictures and the repository for the library are broken.
Thanks if you can.
RyanN
February 6, 2018, 10:53am
8
I don’t believe the team I’m on now has a REV Digit. If you find some issues with the library, and you fix the issues, please do a pull request and I’ll update the repository.